Featured Post
Plugin for featured wordpress posts. This is a cool plugin that makes it easier to mark posts as featured posts (not using specific categories) and simple markup to show theme from your theme file. Add <?php query_posts($query_string."&featured=yes"); ?> before the post loop starts and manage the fe
Plugin for featured wordpress posts. This is a cool plugin that makes it easier to mark posts as featured posts (not using specific categories) and simple markup to show theme from your theme file.
Add <?php query_posts($query_string."&featured=yes"); ?> before the post loop starts and manage the featured posts from the post edit list.
Now added widget for listing featured post in sidebar widgets with custom number of post.
Supports Custom Post Type
Visit us on GitHub to support and donate
This section describes how to install the plugin and get it working.
- 01Upload the plugin folder to the /wp-content/plugins/ directory
- 02Activate the plugin through the ‘Plugins’ menu in WordPress
- 03Go to post list are then choose your featured post.
- 04Put the code <?php query_posts($query_string."&featured=yes"); ?> before the post loop starts where you want to showt he featured posts.
- 05Put a widget on sidebar for listing featured post in unordered list
- 06NOTE: ****Please just after the loop you have called the custom query don’t forget to add wp_reset_query(); after the loop, else you will have all other normal post loops showing the featured posts.
Frequently asked questions.
Why was this plugin created?
This plugin was created to for the featured post management. Its easy and any minor wordpress developer or user can use and integrate into his wordpress theme with ease.
When I use this plugin to show featured post even when i am not adding “featured=yes” before the loop?
This is not a common problem, but this occurs when you are have called query_posts(***.”featured=yes”); before the normal template loop like in category.php or archive.php or even index.php. So, its a good practice to add a wp_reset_query(); after each custom query you make adding “featured=yes”. So why not add the wp_reset_query(); after the loop of featured posts.