WordPress.org

Ready to get started?Download WordPress

Forums

Limit Posts to Category (Not Main Page) (7 posts)

  1. bkbdesign
    Member
    Posted 5 years ago #

    I'm wondering if anyone knows of a way to allow blogger to keep a post out of the main page feed, and have it only appear on a category page?

    One of my clients wants to have "specialty" posts that aren't directly related to the blog topic, and doesn't want them cluttering up the home page.

    Only thing I can think of is to create a "main" category and have that set as the home page... and just not tick that category on specialty posts. But, since the specialty posts are going to be the exception, not the rule, seems like a pain to add an extra step like that if not necessary.

    Any ideas?

  2. WaquireXMII
    Member
    Posted 4 years ago #

    Did you solve this Issue? - im having the same one..

  3. MichaelH
    Member
    Posted 4 years ago #

    Look at The Loop article and excluding posts example.

    Related:
    Stepping Into Template Tags
    Stepping Into Templates
    Template Hierarchy

  4. WaquireXMII
    Member
    Posted 4 years ago #

    - Note quite what im looking for ..

    What I need is, when a poster via postie, sends a post to Category A, it goes directly to Category A, (And is not shown on "Home/front page" but if a poster Doesn't choose a category it will land on the default page "Front page / home" , I know, its a bit difficult to explain.. Would this be possible.. I admit I might be a little noob'ish, but Ive been searching the forum for 48 hours now without any luck..

    Any suggestions?

  5. MichaelH
    Member
    Posted 4 years ago #

    Posters don't decide where a post is display -- that is done via your theme's templates or a plugin.

    Probably should look at http://wordpress.org/extend/plugins/simply-exclude/

  6. WaquireXMII
    Member
    Posted 4 years ago #

    T H A N K - Y O U ! Michael, Thats just perfect!!
    One last thing... How do I force categories to be shown eventhough there are no posts in them..

  7. MichaelH
    Member
    Posted 4 years ago #

    Use the template tag, wp_list_categories(), with the hide_empty=0` argument.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags