Tambah Fitur TinyMCE Visual Editor WordPress

Visual Editor WordPressTambah Fitur TinyMCE Visual Editor WordPress

Tambahkan kode berikut ini pada dashboard website anda dan klik editor cari function.php. Tambahkan pada function.php. Berikut Kode nya:

function enable_more_buttons($buttons) {
$buttons[] = 'fontselect';
$buttons[] = 'fontsizeselect';
$buttons[] = 'styleselect';
$buttons[] = 'backcolor';
$buttons[] = 'newdocument';
$buttons[] = 'cut';
$buttons[] = 'copy';
$buttons[] = 'charmap';
$buttons[] = 'hr';
$buttons[] = 'visualaid';
return $buttons;
}
add_filter("mce_buttons_3", "enable_more_buttons");
add_filter( 'tiny_mce_before_init', 'myformatTinyMCE' );
function myformatTinyMCE( $in ) {
$in['wordpress_adv_hidden'] = FALSE;
return $in;
}
Admin Apikhosting
Admin Apikhosting
Articles: 118
PHP Code Snippets Powered By : XYZScripts.com