Prin codul de mai jos adaugat in functions.php se vor aduga 3 noi butoane in editor cand se scrie un nou articol.
[codesyntax lang=”php” lines=”no” container=”div”]
function tcb_add_tinymce_buttons( $tinyrowthree ) {
$tinyrowthree[] = 'hr';
$tinyrowthree[] = 'sub';
$tinyrowthree[] = 'sup';
return $tinyrowthree;
}
add_filter( 'mce_buttons_3', 'tcb_add_tinymce_buttons' );
[/codesyntax].









care fac pana la urma ce?
As vrea sa le adaug si eu in blogul ce tocmai il construiesc pe WordPress, dar nu stiu ce functionalitati noi aduc aceste butoane…
Am adaugat eu codul in functions.php si nu vad nici o schimbare. Poate ca problema e la mine, nustiu.