Posts Tagged ‘Editor’

How To Customize WordPress WYSIWYG Editor

February 25th, 2010 By WP Tricks Posted in Tricks

Did you know that, Customize WordPress WYSIWYG Editor is one of my favorite excellent tricks by WP Engineer, please note this tricks need so many code to be added in functions.php on your theme, so read it carefully and happy explore this tricks.

How To Customize WordPress WYSIWYG Editor

How To Customize WordPress WYSIWYG Editor

Customizing the function of the buttons in your Editor

function do_change_mce_buttons( $initArray ) {
	//@see http://wiki.moxiecode.com/index.php/TinyMCE:Control_reference
	$initArray['theme_advanced_blockformats'] = 'p,address,pre,code,h3,h4,h5,h6';
	$initArray['theme_advanced_disable'] = 'forecolor';

	return $initArray;
}
add_filter('tiny_mce_before_init', 'do_change_mce_buttons');

Read the rest of this entry »