WordPress.org

Ready to get started?Download WordPress

Plugin Directory

Post Type Spotlight

Easily allows you to designate posts, pages, attachments and custom post types as featured.

Isn't this the same as sticky posts?

This is not the same as sticky posts. Sticky functionality can only be applied to the core 'post' post type. More information on why

How do I find just my featured posts?

This snippet of code will fetch the 10 most recent posts that are featured.

<?php
    $featured_posts = new WP_Query( array(
        'post_type' => 'post',
        'posts_per_page' => 10,
        'meta_query' => array(
            array(
                'key' => '_pts_featured_post'
            )
        )
    ) );

    if ( $featured_posts->have_posts() ) : while ( $featured_posts->have_posts() ) : $featured_posts->the_post();

        //output featured posts here

    endwhile; endif;
?>

Requires: 3.1 or higher
Compatible up to: 3.5.2
Last Updated: 2013-7-22
Downloads: 1,129

Ratings

5 stars
5 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2 100,2,2
100,1,1