WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Featured Posts Plugin (YAFPP)
Doesn't seem to work with custom post types (2 posts)

  1. joshintiosh
    Member
    Posted 2 years ago #

    It doesn't seem to call the custom post types. If it does, I can't figure out how! hope that helps.

    http://wordpress.org/extend/plugins/yet-another-featured-posts-plugin/

  2. ianmcabee
    Member
    Posted 2 years ago #

    I'm looking to do the same. I would like to target a specific post type and pull 1 featured post from it.

    <?php
    get_featured_posts( array('post_type' => 'promotions') );
    $my_query = new WP_Query('post_type=promotions');
    while ($my_query->have_posts()) : $my_query->the_post();
    the_content();
    endwhile;
    ?>

    I can't it to work though. Are custom post types supported with the plugin?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic