post

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...
2 minutes read
Older posts on your blog can “extend life” by creating a page template that will redirect readers to a random post. It may also be needed when a visitor wants to read something in the perspective of “useful”, but does not know where to start. Random post to help him 🙂In this article – a simple way to accomplish this. Create a new file and call it page-random.php . Paste the following code into it: 1 <?php 2 // set the parameters for get_posts() 3 $args = array( 4 ...
3 minutes read
If the content on your site is correctly organized by headings, then you probably will not need the block “Similar entries” on the site, because you can simply display fresh entries from the same heading. In today’s article, we will show you how to create a section called “More posts from this category,” as an alternative to “Related posts.” Show Me What You Have To Say If your records are organized correctly by rubrics, it may be useful to display a list of entries from the ru...