• Hello!

    I have a group blog up and running. We have two administrators and a number of editors. I have a category called NEWS that updates not to the blog but to a shorthand list in the sidebar. It’s meant for admins only.

    it’s simple enough to ask users not to post news, but if it’s possible I’d like to just hide the category from anyone else.

    Is that possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • if your sidebar code for listing that category is just for that one section and not part of a wp_list_categories that lists multiple categories, you can do this

    if (current_user_can('manage_options')) {
       === "display News" code here ==
    }

    only admins can manage options, so the code in that IF only executes when an admin is LOGGED IN

    Thread Starter isaidicanshout

    (@isaidicanshout)

    ah, i think i mis-explained.

    i want everyone to see it on the site, but i’d like nobody to be able to POST into the SITENEWS category. thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Administrator-only category?’ is closed to new replies.