WordPress.org

Support

Support » How-To and Troubleshooting » How to don't display posts from a specific category

How to don't display posts from a specific category

  • O have a blog with some categories: bmw, skoda, seat, blog. I want that on my index page to appear all posts posted in bmw, skoda and seat but no and to post from blog.

    That is my code that display the posts on index:

    div id="content" style="width:710px;">
        <?php if (have_posts()) : ?>
    
        <?php while (have_posts()) : the_post(); ?>

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to don't display posts from a specific category’ is closed to new replies.
Skip to toolbar