WordPress.org

Ready to get started?Download WordPress

Forums

Adminimize
[resolved] Hide page and subpages (edit.php) (4 posts)

  1. jokerot
    Member
    Posted 2 years ago #

    I need to hide edit.php and edit.php***...

    i hide edit.php page and i worked, but when i click on any other link e.g.
    drafts ( edit.php?post_status=draft&post_type=post )
    all (...)
    etc...
    it show the hidden stuff again.
    now i need all that hidden.

    i searched a bit and found this
    $def_post_pages = array( 'edit.php', 'post.php', 'post-new.php' );
    in adminimize.php
    and when i try to add 'edit.php?post_status=publish&post_type=post'
    inside it wont work but when remove any of those inside it seem to be the right place to add the string .
    Is it something with the strings or...
    Any help will be appreciated.

    http://wordpress.org/extend/plugins/adminimize/

  2. atreidex
    Member
    Posted 2 years ago #

    Hello everyone!

    I want to disable some backend menus for the administrator (and leave them available only for a super-admin role).

    Ok, so i checked the Users (users.php) and Add New User (user-new.php) and now i wanted to uncheck them and make them available again for the administrator. This doesn't work anymore! I can't uncheck them at all. I tried with all the other menus and everything works except for these two items - very strange! So i tried to check (disable) them for the "Editors" and then when i tried to uncheck the boxes again - surprise - it won't work. So once checked, those boxes keep their status forever and ever.

    Any suggestions? Any trick to uncheck them directly from the database?

    Thanks!

  3. Frank
    Member
    Plugin Author

    Posted 2 years ago #

    you can always remove the settings, the last box in settings page of Adminimize reset to default.
    Maybe i will check this, i dont see an problem in my tests.

  4. Frank
    Member
    Plugin Author

    Posted 2 years ago #

    qjokerot: now i have fixed, next release works it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags