AI Search
Classic Search
Notifications
Clear all
How-to and Troubleshooting - wpForo 2.0
7
Posts
4
Users
3
Reactions
3,591
Views
6 Replies
Nov 04, 2020 2:17 pm
Hi @swarup,
That's very easy to do with 'wpforo_editor_settings' filter hook. Put this code in your current active WordPress theme functions.php file. You can see all button names in 3rd line of this code, just remove whichever you want.
function wpforo_custom_editor_toolbar( $settings ){
if( isset($settings['tinymce']['toolbar1']) ){
$settings['tinymce']['toolbar1'] = 'fontsizeselect,bold,italic,underline,strikethrough,forecolor,bullist,numlist,hr,alignleft,aligncenter,alignright,alignjustify,link,unlink,blockquote,pre,wpf_spoil,undo,redo,pastetext,source_code,emoticons,fullscreen';
}
return $settings;
}
add_filter('wpforo_editor_settings', 'wpforo_custom_editor_toolbar', 12);
Sep 21, 2022 3:41 am
Are these files accessed through sftp? or another part of my site?

