Problem:
How to remove or hide Bootstrap buttons / Bootstrap-Components / Bootstrap toggle button (tinymce buttons) from WP Post Editors.
Solution:
1. If your site is not using Bootstrap, then you can disable it by going to WordPress dashboard >> Settings >> General >> Bootstrap loading >> This site is not using Bootstrap CSS -- please see screenshot:
https://d7j863fr5jhrr.cloudfront.net/wp-content/uploads/2017/06/540112-Bootstrap.png?x36781
2. If your site is using Bootstrap, then you can disable it by adding following code in the theme’s or child theme’s functions.php file to remove Bootstrap buttons from editor:
add_filter( 'mce_buttons_3', 'remove_bootstrap_buttons', 999 ); function remove_bootstrap_buttons($buttons) { return array(); } add_filter( 'mce_buttons', 'remove_toggle_button', 999 ); function remove_toggle_button($buttons) { $remove = array( 'css_components_toolbar_toggle' ); return array_diff( $buttons, $remove ); }
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | 12:00 – 17:00 | - |
- | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | 18:00 – 21:00 | - |
Supporter timezone: Asia/Karachi (GMT+05:00)
This topic contains 7 réponses, has 2 voix.
Last updated by dianaM-4 Il y a 6 années et 9 mois.
Assisted by: Noman.