Title: Editors cannot use plugin
Last modified: August 22, 2016

---

# Editors cannot use plugin

 *  Resolved [anik786](https://wordpress.org/support/users/anik786/)
 * (@anik786)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/editors-cannot-use-plugin/)
 * In my theme, editors are allowed to edit theme options.I do this using the following
   code in my functions using the following code:
 *     ```
       function custom_capabilities(){
           $editor = get_role( 'editor' );
           $editor->add_cap('edit_theme_options');
       }
       add_action( 'admin_init', 'custom_capabilities') ;
       ```
   
 * Unfortunately the archive meta box does not appear in the menu under Appearance
   > Menu.
 * However it works fine under admin accounts.
 * Please help!
 * [https://wordpress.org/plugins/post-type-archive-links/](https://wordpress.org/plugins/post-type-archive-links/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [anik786](https://wordpress.org/support/users/anik786/)
 * (@anik786)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/editors-cannot-use-plugin/#post-5720471)
 * UPDATE:
 * I tried adding LOADS more capabilities and still no luck. How can I make this
   plugin work for editors.
 *  Plugin Contributor [Franz Josef Kaiser](https://wordpress.org/support/users/f-j-kaiser/)
 * (@f-j-kaiser)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/editors-cannot-use-plugin/#post-5720484)
 * > I tried adding LOADS more capabilities
 * …_LOADS_, even when written in all upper caps, is _no_ proper description of 
   what you have tried as it’s impossible to reproduce your steps.
 * There is exactly one capability check (see [source](http://plugins.svn.wordpress.org/post-type-archive-links/tags/1.3.0/post-type-archive-links.php))
   in the `is_allowed()` method that only runs during the AJAX request. It checks
   for `edit_theme_options`.
 * You will have to take a look at core to see why your authors can’t do that. I
   assume the problem will arise with pretty much every plugin that adds content
   at the nav menu.
 *  Thread Starter [anik786](https://wordpress.org/support/users/anik786/)
 * (@anik786)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/editors-cannot-use-plugin/#post-5720651)
 * Turns out that this did work. It was just hidden from the screen options menu
   for some reason! Thanks for the help 🙂
 *  Plugin Contributor [Franz Josef Kaiser](https://wordpress.org/support/users/f-j-kaiser/)
 * (@f-j-kaiser)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/editors-cannot-use-plugin/#post-5720698)
 * You’re welcome 🙂

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Editors cannot use plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/post-type-archive-links.svg)
 * [Post Type Archive Link](https://wordpress.org/plugins/post-type-archive-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-type-archive-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-type-archive-links/)
 * [Active Topics](https://wordpress.org/support/plugin/post-type-archive-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-type-archive-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-type-archive-links/reviews/)

## Tags

 * [admin](https://wordpress.org/support/topic-tag/admin/)
 * [capabilities](https://wordpress.org/support/topic-tag/capabilities/)
 * [links](https://wordpress.org/support/topic-tag/links/)
 * [navigation](https://wordpress.org/support/topic-tag/navigation/)

 * 4 replies
 * 2 participants
 * Last reply from: [Franz Josef Kaiser](https://wordpress.org/support/users/f-j-kaiser/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/editors-cannot-use-plugin/#post-5720698)
 * Status: resolved