Yet Another Featured Posts Plugin provides an easy AJAX interface to feature posts, with thumbnails & other display options for featured posts.
Upload the folder
yet-another-featured-posts-plugin into the
Activate the plugin through the 'Plugins' menu in WordPress
Select featured posts by clicking the 'featured stars' within the post listing in 'Posts > Edit'
<?php if ( function_exists('get_featured_posts') ) 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 posts
return: Returns an HTML formatted string of featured posts
arr: Returns a PHP array of data related to the featured posts
the_loop: Alters the query for WordPress' The_Loop
See the FAQs for more info on output options.
Read the complete documentation
Requires: 2.8.4 or higher
Compatible up to: 2.9.2
Last Updated: 6 years ago
Active Installs: 1,000+
Got something to say? Need help?