to keep the editor from going wild with the typography options
// JMC customizing the first line of the WYSWYG
if( !function_exists(‘base_extended_editor_mce_buttons’) ){
function base_extended_editor_mce_buttons($buttons) {
// The settings are returned in this array. Customize to suite your needs.
return array(
‘media’,’bold’,’italic’,’hr’,’underline’,’bullist’,’numlist’,’blockquote’,’alignleft’,’aligncenter’,’alignright’,’alignjustify’,’link’,’unlink’,’charmap’,’indent’,’outdent’,
‘undo’, ‘redo’, ‘pastetext’, ‘pasteword’
);
}
add_filter(“mce_buttons”, “base_extended_editor_mce_buttons”, 0);
}
// JMC customizing the second line of the WYSWYG
if( !function_exists(‘base_extended_editor_mce_buttons_2’) ){
function base_extended_editor_mce_buttons_2($buttons) {
// The settings are returned in this array. Customize to suite your needs. An empty array is used here because I removed the second row of icons.
return array(‘removeformat’, ‘formatselect’);
}
add_filter(“mce_buttons_2”, “base_extended_editor_mce_buttons_2”, 0);
}
IN FUNCTIONS FILE

