Yet Another Featured Posts Plugin (YAFPP)
Custom post type & posts together (1 post)

  1. Robert Novak
    Posted 3 years ago #

    Hi there,

    I have one question if someone can help me...is there any way to display custom post type & posts along (in the same loop). Specifically, I would like to display the featured post regardless of whether the post or custom post type are checked.

    Something like in this peace of code (projects is my custom post type):
    'get_featured_posts( array('post_type' => 'projects') && array('post_type' => 'post') ); $my_query = new WP_Query('post_type=projects' && 'post_type=post'); while ($my_query->have_posts()) : $my_query->the_post();'



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yet Another Featured Posts Plugin (YAFPP)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic