WordPress.org

Ready to get started?Download WordPress

Forums

Only showing entry, not entire category (2 posts)

  1. randybrown
    Member
    Posted 9 years ago #

    Is it possible to not display particular category in normal view of the blog, but do display it when viewing a single entry?
    Basically, I want a category to be hidden from the normal view of the blog, but entries I make to thise particular category should be able to be seen if someone is directed to its URI.
    I imagine I would check the $single variable, but am wondering how I might structure the statement and where it would be placed?
    Probably something like:
    if $single and if theCategory {
    display the entry
    }

    Thanks.

  2. randybrown
    Member
    Posted 9 years ago #

    Thanks, coffee2code. I'll give that a try.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.