Would you like to make some of your posts stands out of the crowd? If yes, a good solution is to create a Featured Posts block on your blog homepage.
As you can see in the preceding screenshot, before the normal post listing, the blogger set up a Featured Posts block where he or she display the most popular posts.
To achieve this recipe, you only need a text editor and a WordPress theme.
Log in to your WordPress Dashboard, go to Manage | Categories, and create a new category named Featured.
Once you have created your Featured category, simply put your mouse cursor on the edit link related to this category and look at your browser's status bar—you'll be able to see the
action=edit
and category ID (cat_ID=1
, in our case), as shown in the following screenshot:Open the
index.php
file from your theme directory.At the location where you want your Featured Posts to appear, insert the following code:
<?php if (!$paged) {...