• Resolved dfgphp

    (@dfgphp)


    Hi I am trying to remove admin users within the pages section “layout options” and I failed.

    any idea??

    best regards

    DFGPHP

Viewing 6 replies - 1 through 6 (of 6 total)
  • May be just me, but I don’t understand?

    Thread Starter dfgphp

    (@dfgphp)

    Hello, rdellconsulting, I’m trying to eliminate in the edit page, the box below.
    <img src=”https://i59.tinypic.com/29o1pwx.png&#8221; border=”0″ alt=”Image and video hosting by TinyPic”>“>

    [IMG]https://i59.tinypic.com/29o1pwx.png[/IMG]

    Thanks for your reply.

    best regards

    Take a look at Adminimize which is a plugin that enables you to customize the entire Admin backend.

    If not, is it the entire Layout Options panel you’re trying to remove?

    Thread Starter dfgphp

    (@dfgphp)

    The plugin blocks adminize box but does not eliminate, my intension is that this box does not appear

    best regards.

    OK, I missed the simple solution. At the top of the Page there is a Screen Options tab. Under there it will reveal a checkbox that if you uncheck, the box will not appear.

    Thread Starter dfgphp

    (@dfgphp)

    Thanks for your reply, what I was looking for. I also found this to personalize users, leave it in case someone needs it.

    Best regards.

    function remove_screen_options(){ __return_false;}
    add_filter('screen_options_show_screen', 'remove_screen_options');

    and

    get_currentuserinfo() ;
    global $user_level;
    
    function remove_screen_options(){ __return_false;}
    if( $user_level <= 8 ) add_filter('screen_options_show_screen', 'remove_screen_options');
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘remove layout options’ is closed to new replies.