WordPress.org

Support

Support » How-To and Troubleshooting » Query posts but exclude featured category

Query posts but exclude featured category

  • Hi all

    I wonder if anyone can help amend this php query, so that it excludes posts from the featured category.

    <!– begin recent posts –>

    <?php
    $wp_query = $tmp_query;
    $odd = false;
    if (have_posts()) :
    while (have_posts()) : the_post();
    $odd = !$odd;
    ?>

    Thanks for reading

    Mike

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Query posts but exclude featured category’ is closed to new replies.