• I have a slideshow on one of my category pages and I would like to show the post from that same category, but instead being in a slideshow, I want them to be static.

    Here’s what I got so far

    <?php
    $temp = $wp_query;
    $wp_query= null;
    $wp_query = new WP_Query();
    $wp_query->query(array('category__and' => array(5), 'posts_per_page' => 2, 'paged' => $paged));
    ?>

    I know you can show a post by it’s “post_type” but I didn’t find anywhere that says how to exclude them.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Show posts excluding "post_type"’ is closed to new replies.