-
AuthorPosts
-
September 4, 2017 at 1:43 pm #847712
Hi,
users with the role “author” can’t see the Enfold shortcode button in the WP editor (posts). I don’t know why.
Best regards
David- This topic was modified 7 years, 2 months ago by DDamjanovic.
September 5, 2017 at 3:34 pm #848157Hey DDamjanovic,
Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:
– Link to your site
– WordPress Admin username / password
– FTP credentialsDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Best regards,
John TorvikSeptember 7, 2017 at 11:36 am #849041This reply has been marked as private.September 8, 2017 at 5:26 am #849375Hi,
I have checked your site closer and WordPress roles are not defined by the theme and instead by WordPress itself. I suggest asking those questions in the WordPress forum in the future.
However, here you can find some more general information about this topic here:
https://codex.wordpress.org/Roles_and_Capabilities
Adding custom roles:You could also use a plugin to customize user roles:
Best regards,
John TorvikSeptember 21, 2017 at 2:03 pm #854857Hi John,
what’s the name of the custom capability?
Best regards
DavidSeptember 23, 2017 at 5:47 pm #855834Hi,
Sorry, I don’t understand your question, could you elaborate a little more please.Best regards,
MikeSeptember 26, 2017 at 7:39 pm #857107Hi Mike,
the Enfold shortcode button in posts should bei visible for authors, too. Not only for admins. So we have to register a custom capability in User Role Editor.
Best regards
DavidSeptember 28, 2017 at 4:31 am #857804Hi,
The shortcode wand will only display for users that can “edit_posts”. The author role doesn’t have this capability by default.
// https://codex.wordpress.org/Roles_and_Capabilities#edit_posts
Best regards,
IsmaelSeptember 29, 2017 at 1:13 am #858277Hi Ismael,
authors can “edit_posts” by default!
Best regards
DavidSeptember 29, 2017 at 11:29 am #858430Hi,
Ah yes. The user should be able to “edit_pages” as well. This is the condition before rendering the shortcode wand button.
if ( current_user_can('edit_posts') && current_user_can('edit_pages') && self::$count == 0)
Best regards,
IsmaelOctober 4, 2017 at 2:06 pm #860129Thank you, resolved.
October 5, 2017 at 6:08 am #860431 -
AuthorPosts
- The topic ‘Author rights for shortcode button in WP editor’ is closed to new replies.