WordPress.org

Forums

Customizr
[resolved] remove layout options (7 posts)

  1. dfgphp
    Member
    Posted 9 months ago #

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

    any idea??

    best regards

    DFGPHP

  2. rdellconsulting
    Member
    Posted 9 months ago #

    May be just me, but I don't understand?

  3. dfgphp
    Member
    Posted 9 months ago #

    Hello, rdellconsulting, I'm trying to eliminate in the edit page, the box below.
    <img src="http://i59.tinypic.com/29o1pwx.png" border="0" alt="Image and video hosting by TinyPic">">

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

    Thanks for your reply.

    best regards

  4. rdellconsulting
    Member
    Posted 9 months ago #

    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?

  5. dfgphp
    Member
    Posted 9 months ago #

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

    best regards.

  6. rdellconsulting
    Member
    Posted 9 months ago #

    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.

  7. dfgphp
    Member
    Posted 9 months ago #

    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');

Reply

You must log in to post.

About this Theme

About this Topic