WordPress.org

Ready to get started?Download WordPress

Forums

How to make it so user level 9 can't change or delte categories (5 posts)

  1. Lori
    Member
    Posted 9 years ago #

    Is there a way user level 9 can do everything besides make, edit, and delete categories?

  2. Lori
    Member
    Posted 9 years ago #

    Someone help me please?

  3. Kafkaesqui

    Posted 9 years ago #

    Open wp-admin/categories.php. Look for several:

    if ($user_level < 3)

    and change them all to:

    if ($user_level < 10)

    Towards the end look for a couple of these:

    <?php if ( $user_level > 3 ) : ?>

    and change to:

    <?php if ( $user_level > 9 ) : ?>

    Finally, if you want to take Categories off the Manage submenu (to remove the temptation), go into wp-admin/menu.php and alter this:

    $submenu['edit.php'][15] = array(__('Categories'), 1, 'categories.php');

    to:

    $submenu['edit.php'][15] = array(__('Categories'), 10, 'categories.php');

    Remember: Back up files you are planning to change, and comment your changes.

  4. Lori
    Member
    Posted 9 years ago #

    lol, just figured it out myself right before I checked my reply :)

    Thank you anyway! :p

  5. Lori
    Member
    Posted 9 years ago #

    Oh, I didn't know about taking it off the menu! Thanks that's even better! :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.