WordPress.org

Forums

How can I do this? (3 posts)

  1. levani
    Member
    Posted 7 years ago #

    Hello

    I created 2 categories on my blog; category1 and category2. When I add new posts in category1 or category2 it is visible on the main page too. And I want to change it. I want that when I add new posts in (for example) category2 it must be visible only when my site visitors click on "category2".

    Thanks

  2. Armbar
    Member
    Posted 7 years ago #

    Just delete <?php the_category(', ') ?>

  3. moshu
    Member
    Posted 7 years ago #

    Armbar, wrong answer.

    To the OP: look for a plugin that will exclude certain categories from your index page.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags