WordPress.org

Ready to get started?Download WordPress

Ideas

Editor access to menus

  1. rwilki
    Member

    12345

    @suli94, you put this into your theme's functions file. make sure it's in between the <?php tags.

    I was curious too, but then realized that the wp community would not endorse making changes to the core wp code. It took me 30 seconds to make this happen and now I don't need extra plugins to create all kinds of custom roles!!!

    @enailor, what an awesome piece of code!!! thank you so much!

    Posted: 3 years ago #
  2. w1cky
    Member

    +1 for granular control!

    I use WP for clients' sites, most of whom are mildly technophobic. There's a clear division of labour; I make the important, difficult & technical changes, and they deal with adding and editing content. This includes adding & reordering navigation items.

    Menus were a problem that I thought the menu system was designed to address, however I'm confused at who it's for. It's very convenient, but as the Admin I don't 'need' it because I can just code what I want into the template.

    A menu editor similar to the current menu system (but for the backend admin area) would be very useful.... as would permissions management similar to Justin's "Members" plugin (but without the need for a plugin).

    Posted: 2 years ago #
  3. w1cky
    Member

    Currently I'm using the following work around...

    "Members" plugin: setup the permissions as I need them to be.

    Copy & paste this into your functions.php file ...

    // get the the role object
    $role_object = get_role( 'editor' );
    
    // add $cap capability to this role object
    $role_object->add_cap( 'edit_theme_options' );

    "Adminimize" plugin: restrict Editor access to Widgets, Themes & the Editor.

    Posted: 2 years ago #
  4. mpmchugh
    Member

    w1cky - have you noticed that some plugin's setting won't show up under those circumstances and is there a way around that?

    I've got a couple the a I need the client to be able to edit as an Editor that just won't show up except in an Admin account.

    Are they just badly written plugins?

    Posted: 2 years ago #
  5. Jenny
    Member

    12345

    enailor, thank you so much for posting the solution!

    Posted: 2 years ago #
  6. Jae
    Member

    Surely it depends on each individual case. For me, it saves me time if my clients can have access to certain aspects of their WP Dashboard, so that they can add pages, posts, etc. Also, if they're adding pages and posts, they'll want to be able to add these new pages to their navigation menus, etc.

    Thankfully, there does actually exist a plugin that lets you choose what areas of the WP Dashboard you want your Editors to see. It also allows you to completely brand the Dashboard for a more professional look and feel.

    The plugin is called White Label CMS and is available here - http://wordpress.org/extend/plugins/white-label-cms/

    I hasten to add, that I am in no way affiliated with the author(s) of this plugin and I am not getting any commissions or royalties for recommending it. I have merely recommended it because I use it and find it very useful.

    Posted: 1 year ago #
  7. Silsin
    Member

    Thanks Jae for the link! Works perfect. This was exactly what I've been looking for!

    Posted: 1 year ago #
  8. Jae
    Member

    You're welcome Silsin! :) It's a pleasure to be of help! :)

    Posted: 1 year ago #
  9. Bozz
    Member

    12345

    I would appreciate the ability to grant access to Menus + Widgets via core capabilities, so we can control and restrict access to other elements available under edit_theme_options.

    Posted: 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    14 Votes
  • Status

    This is plugin territory