• I surrender! Brain…. explosion… imminent!
    I have spent the last 2 hours working on this one but I have to admit defeat, as fun as reserch is I need to get this done.

    So my front page pulls in 3 recent posts like this:

    <?php $custom_query = new WP_Query( ‘posts_per_page=3’ );
    while($custom_query->have_posts()) : $custom_query->the_post(); ?>

    It works like a charm.

    Now I would like this Query to include post that are of the t_property post type, that are tagged with ‘featured’ under the t_propertytype custom taxonomy.

    I have tried many code snippets from the codex but none have got me both regular posts and the custom taxonomy posts.
    If anyone can lend a hand I would be immensely grateful.

    Thanks.

The topic ‘Query standard posts and include a custom taxonomy’ is closed to new replies.