This plugin adds the ability for the user to mark post to be featured post with just one click without the need of editing individual post.
The plugin also includes widget which can display all the posts which have been marked featured..
Plugin comes with widget, which can be added to sidebar.
In order to display featured posts in your theme, use the following code to fetch the posts. $featured posts = Thfp public thfp get featured posts.
Above function accepts parameter which limits the number of posts which it can return..
Show the posts with the help of custom loop - if ) while ) $featured posts->the post Your code here endwhile endif.
Make sure you use 'tag key to be 'featured $args = array $featured posts = new WP Query and then use the loop to display posts...
Upload thfp zip to the wp-content plugins directory.
Activate the plugin through 'Plugins WordPress...
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more