This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//Button names: http://www.tinymce.com/wiki.php/TinyMCE3x:Buttons/controls | |
//http://www.tinymce.com/wiki.php/Controls | |
//Customize WYSIWYG format buttons (aka TinyMCE buttons) | |
//Remove FEW buttons from the first row | |
function mindset_remove_buttons_first_row( $buttons ){ | |
$remove = array('alignleft', 'alignright', 'aligncenter', 'wp_adv' );//last one is the toggle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//ACF Editor customization | |
function mindset_toolbars( $toolbars ) | |
{ | |
// Uncomment to view format of $toolbars | |
/* | |
echo '< pre >'; | |
print_r($toolbars); | |
echo '< /pre >'; |