WordPress.org

Support

Support » How-To and Troubleshooting » Only showing entry, not entire category

Only showing entry, not entire category

  • 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.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Only showing entry, not entire category’ is closed to new replies.
Skip to toolbar