display

3 minutes read
Recently, one of our users asked how to display a list of child pages for a page in WordPress. Often in the work on a site where there are child pages, you may need to show a list of these very child pages in the sidebar widget or anywhere else in the template. In this article, we will show you how to list the child pages for the parent in WordPress. You can look at an example of the list of child pages in the screenshot below, which was taken from the OptinMonster website page . An import...
a minute read
Many bloggers use Feedburner to display the number of their subscribers. If you want to be able to show the average number of them over the past 7 days, here is the code that is useful for this purpose. As usual, first of all you need to insert this function into the functions.php file of your theme: 1 function get_average_readers($feed_id,$interval = 7){ 2     $today = date('Y-m-d', strtotime("now")); 3     $ago = date('Y-m-d', strtotime("-&#...
2 minutes read
Google announced that it almost solved the problem with displaying URLs in the AMP search results. They currently display Google URLs, not publishers that come from AMP Cache. However, later this year the situation will change, and AMP Cache will begin to provide publisher URLs. Earlier, Google AMP developers have already taken a number of steps to eliminate this problem, but the lack of a full-fledged solution was one of the factors holding back the growth of support for accelerated mobile ...
5 minutes read
Have you ever had a need to bring your fresh posts from each separate column to your WordPress sidebar? Recently, one of our users asked us if there was a way to quickly bring up fresh posts from a specific category to the WordPress sidebar widget. In today’s article, we will show you how to display the latest posts for each rubric in the WordPress sidebar. There are two ways to display fresh posts from each individual column in WordPress. The first method is really simple and convenient for...