二個檔並把下面語法貼上去即可.
function enable_more_buttons( $buttons ) {
$buttons [] = 'hr';
$buttons [] = 'del';
$buttons [] = 'sub';
$buttons [] = 'sup';
$buttons [] = 'fontselect';
$buttons [] = 'fontsizeselect';
$buttons [] = 'cleanup';
$buttons [] = 'styleselect';
$buttons [] = 'wp_page';
$buttons [] = 'anchor';
$buttons [] = 'backcolor';
return $buttons ;
}
add_filter( "mce_buttons_3" , "enable_more_buttons" );
沒有留言:
張貼留言