Hi Vaakash,
Good day!
Thanks for the prompt reply and the suggestion. moderate_comments is a capability of Administrator and Editor so it’s still not visible for the Author, but I managed to figure out what you’re trying to point out. I used “publish_posts” instead.
For anyone having this same problem, here’s WP’s list of Roles/Capabilities that you can manipulate on that same line that Vaakash sent:
http://codex.wordpress.org/Roles_and_Capabilities
Lastly, I am not so confident editing the plugin since I want it to be upgradeable as much as possible, so I just added the code below into my custom functions:
add_action(‘admin_menu’, ‘show_shortcode’);
function show_shortcode() {
add_menu_page(‘Shortcoder’,’Shortcoder’,’publish_posts’,’shortcoder’, ‘sc_admin_page’, plugins_url(‘shortcoder/images/shortcoder-2.png’));
}
…the only caveat though is that if I do it my way (using the custom functions), it’s throwing that insufficient permission error of WP. Is there something else that I need to setup Vaakash?
Hoping for some response.
Thanks!