Remove Toolset buttons for certain User Roles from WP Post Editor

You have no access to this specific snippet

Let us know if this snippet is not working for you:

This snippet doesn’t work
0 0 votes
Article Rating
Subscribe
Notify of
guest

1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Christian Cox
6 years ago

It looks like the CRED button is using a different selector now. The updated CSS code that works for me:

.button.js-wpv-fields-and-views-in-toolbar,
.button.js-cred-in-toolbar,
.button.js-wpcf-access-editor-button,
#qt_content_bs_component_show_hide_button,
.mce-ico.mce-i-icon.wpv-conditional-output-icon,
.js-layout-private-add-new-top {
display:none !important;
}