Wordpress TinyMCE buttons
For Wordpress TinyMCE when adding or editing posts. I have this issue where I would like to have more buttons for user so it's same as admin. At the moment when you login as user it shows limited amount of buttons. Is there a way to show same buttons as admin f开发者_Python百科or users aswell? See images below admin has more buttons... I can only get more buttons for superadmin user...
Pretty sure any user can toggle the visibility of all available buttons by selecting the icon before the TV called 'Kitchen Sink'. In your screen shots: Admin user has previously enabled it, other user hasn't.
You can force it to be always on with the following:
/**
* Force the kitchen sink to always be on
*/
add_action('auth_redirect', 'tcb_force_kitch_sink_on');
function tcb_force_kitch_sink_on(){
set_user_setting('hidetb', 1);
}
精彩评论