/ Published in: PHP
As of WordPress 3.1.2, Editors do not have access to the menu editor in WordPress. The following code gives that capability to Editors. Add this code to your functions.php file.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php add_action( 'init', 'my_role_modification' ); function my_role_modification() { $role = get_role( 'editor' ); $role->add_cap( 'edit_theme_options' ); } ?>