Insert in wp-config.php:
define( 'DISALLOW_FILE_EDIT', true );
Insert in wp-config.php:
define( 'DISALLOW_FILE_EDIT', true );
Adding sub/sup to standard MCE editor:
function my_mce_buttons_2($buttons) {
/**
* Add in a core button that's disabled by default
*/
$buttons[] = 'superscript';
$buttons[] = 'subscript';
return $buttons;
}
add_filter('mce_buttons_2', 'my_mce_buttons_2');