Disable tagDiv Composer for some users

Posted in: Newspaper
Post count: 2

Even though it sounds counterintuitive (being the best visual WP-composer at the market) I’m looking for a way to disable the tagDiv Composer for some unexperienced users, so they can more easily and more efficient do some simple edits to limited pages.

I’ve managed to create a custom user role so they are limited to edit the pages that they created themselves – and nothing more actually.

However I guess that the TAGDIV COMPOSER-button in the “edit page”-window might confuse and cause some ache for some of the users.

That’s why I’m looking for a workaround to either:
1. disable the td composer for some users or
2. hide the td composer button

Because of the limited functions for this custom user role the “Edit with tagDiv Composer”-link has disappeared from the list of all pages at /edit.php?post_type=page, so I guess there might be some workaround to make the same happen for /post.php?post=XXXXX&action=edit… 🙂

This limited role has the following settings:

  • ‘read’ => true,
  • ‘edit_pages’ => true,
  • ‘edit_published_pages’ => true,
  • ‘edit_posts’ => false,
  • ‘edit_published_posts’ => false,
  • ‘customize’ => true,
  • ‘delete_posts’ => false,
  • ‘moderate_comments’ => false,
  • ‘view_admin_dashboard’ => true,
  • ‘edit_admin_dashboard’ => true,
  • ‘read_others_attachments’ => true,

Link: https://wordpress.org/support/article/roles-and-capabilities/

I’m using Newspaper 10.4!

I’ll keep my fingers crossed! 🙂

Best regards,

Stefan

Post count: 21065

Hello!

Please check this topic because it could help you: https://forum.tagdiv.com/topic/hide-the-tagdiv-composer-button/

Thank you!

Post count: 2

Wow, Bettina. That worked! Briliant! 🙂

I did get a “headers already sent” php-error though. But that might be simple to correct. I will look for a solution for that.

Thank you for your help!

Best regards,

Stefan

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.