• Is there any way to hide posts that are in a category so that they only appear when you click on the category itself? In other words, I would like the posts that are not in a category to appear on my blog page. Someone would only see the posts in a category if they clicked on that particular category. I was thinking this would be a good way to organize various posts so they wouldn’t all just be thrown together on the blog page.

Viewing 6 replies - 1 through 6 (of 6 total)
  • All posts are files under at least one category in WordPress.

    Thread Starter Rogerdixon

    (@rogerdixon)

    On my blog the posts are listed as categorized or not categorized. Any post not assigned to a category is listed under not-categorized. I am wanting the posts under a specific category to only be able to be viewed if the reader clicks on that specific category. That way the posts are separate from general posts.

    the posts are listed as categorized or not categorized

    If you check, I think you will find that some of your posts are being filed under the “Uncategorized” category. That is still a category. If you wish to only show posts from the Uncategorized” category on your main posts page, you will need to create a custom query in your theme’s index.php or front-page.php template file using pre_get_posts().

    What theme are you using? Where did you download it from?

    Thread Starter Rogerdixon

    (@rogerdixon)

    I am using twenty eleven. This is the first website I have ever done. I am a raw rookie and am having to learn every step of the way.

    Thread Starter Rogerdixon

    (@rogerdixon)

    Anything that pertains to code I am woefully ignorant of. Is there an easy way of doing what you suggested?

    Do not edit the Twenty Eleven theme itself. First create a child theme for your changes.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can You Separate Blog Posts That Are Categorized and Not Categorized’ is closed to new replies.