Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #178149

    Hi,

    We are in need for creating an admin account without the option to change the (kriesi theme) theme settings.

    We use the plugin ‘user role editor’ to create an admin account with limited option.
    Do you have experience with that and know how to disable your theme settings theme (varaibles, etc.).
    Or do you advise another tool/plugin that can achieve this behaviour.

    Love to hear from you.

    #178262

    Hey hotspot!

    You can use this plugin: http://wordpress.org/plugins/advanced-access-manager/

    Cheers!
    Ismael

    #178274

    Hi Ismael,

    We tried the plugin but this does not provide a good option to do this.
    It hides the kriesi menu, but from the admin bar you can access ‘theme options’ and acces the kriesi menu from there.
    Maybe you can have a look at ‘user role editor’ and advice us what ‘custom capability’ we need to add to restraign access from the kriesi menu.

    Hope you can help.

    #179626

    Hey!

    You can add following code to Quick CSS or into Custom.css file inside Enfold/css folder to remove theme options from admin bar

    #wp-admin-bar-avia { display: none; }

    Regards,
    Yigit

    #196318

    Hi Yigit that doen not really work.
    ANy other solutions you can advise?

    #196381

    Hi!

    It does work for me http://i.imgur.com/jh0qnql.jpg
    You can add !important to force it

    #wp-admin-bar-avia { display: none!important; }

    Regards,
    Yigit

    #196387

    correct, but if you click on a link in the cms that directs to that area.
    Then that area/page does show…

    #197360

    Hi!

    That is correct, the above isn’t a true disable as the theme doesn’t have anything like that at the moment. You could try looking into one of the various user permissions plugins available which would allow you to set users specific permissions.

    But a theme side function or filter to just disable its admin area isn’t available right now.

    Cheers!
    Devin

    #198246

    Yigit, i also noticed that the css:
    #wp-admin-bar-avia { display: none!important; }

    only works when you are in the front-end.
    When going to the back-end its seems that the custom.css file is not loaded.
    Any suggestions how to resolve that?

    #198345

    Hi!

    Add this on your functions.php:

    function avf_admin_head() {
        echo '<link rel="stylesheet" media="screen,projection" type="text/css" href="http://localhost/kriesi/enfold/wp-content/themes/enfold/css/custom.css">';
    }

    Change href=”http://localhost/kriesi/enfold/wp-content/themes/enfold/css/custom.css to href=”http://www.your-site-name/wp-content/themes/enfold/css/custom.css.

    Then edit the css > custom.css file, add this code:

    #wp-admin-bar-avia, #toplevel_page_avia { display: none!important; }

    Cheers!
    Ismael

    #198450

    Hi Ismael, thanks for the fast reply!

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘disable Theme setting area in cms for specific users (admin)’ is closed to new replies.