This file contains hidden or 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
// TinyMCE: First line toolbar customizations | |
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( | |
'formatselect', 'styleselect', 'bold', 'italic', 'strikethrough', 'separator', 'bullist', 'numlist', 'blockquote', 'separator', 'justifyleft', 'justifycenter', 'justifyright', 'separator', 'link', 'unlink', 'separator', 'spellchecker', 'wp_adv' | |
); | |
/* WordPress Default | |
return array( | |
'bold', 'italic', 'strikethrough', 'separator', |
This file contains hidden or 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 | |
add_action( 'admin_menu', 'custom_admin_menu' ); | |
function custom_admin_menu() { | |
remove_submenu_page( 'edit.php?post_type=better_post_template', 'edit-tags.php?taxonomy=store&post_type=better_post_template' ); | |
} | |
?> |
This file contains hidden or 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 | |
/** | |
* Add Taxonomies | |
* @author Shelley Howard | |
* @link http://shelleyhoward.com | |
* http://codex.wordpress.org/Function_Reference/register_taxonomy | |
*/ | |
// hook into the init action and call create_taxonomies when it fires |