Insert Shortcode button is only visible to Admins (hidden for editors and authors)

Why the button is only available to Administrators

Since version 5.0.7 minimum required user capability for the “Insert Shortcode” button has been changed from edit_posts to manage_options, which means only users with this capability can see and use the button. Usually, this capability is only given to the Super Admin and Admin user roles.

Important note

This change was made to improve plugin security. You can do almost everything with shortcodes. Shortcodes Ultimate allows you to load custom PHP scripts, display administrator’s email address and much more. That’s why regular users are not allowed to use it.

How to enable the Insert Shortcode button

If you want to allow Editors or other non-admin users to use the “Insert Shortcode” button, add the following snippet to the end of the functions.php file of your active theme.

We do not recommend doing this!

Enable for Editors

  1. Navigate to Dashboard > Shortcodes > Settings > Advanced settings;
  2. Find the Required user capability field;
  3. Replace manage_options with edit_others_posts;
  4. Click the Save Changes button.

Enable for Editors and Authors

  1. Navigate to Dashboard > Shortcodes > Settings > Advanced settings;
  2. Find the Required user capability field;
  3. Replace manage_options with edit_posts;
  4. Click the Save Changes button.
Helpful?
🤝 Thank you!