Upload the folder yet-another-featured-posts-plugin into the /wp-content/plugins/ directory
Activate the plugin through the 'Plugins' menu in WordPress
Select featured posts by clicking the 'featured stars' within the post listing in 'Posts > Edit'
Place <?php get_featured_posts(); ?> wherever you want a list of featured posts in your templates
For more advanced users there are a number of output options. Simply pass an option array: <?php get_featured_posts(array( 'method' => 'return' ); ?>. In this example <?php get_featured_posts(); ?> would return the formatted string of data instead of echoing it.
Output options include:
echo : (Default) Echoes an HTML formatted string of featured postsreturn : Returns an HTML formatted string of featured postsarr : Returns a PHP array of data related to the featured poststhe_loop : Alters the query for WordPress' The_LoopSee the FAQs for more info on output options.
Read the complete documentation




