Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- * Code in my child theme functions.php
- */
- function required_starter_after_parent_theme_setup() {
- // This is the hack, that removes the notice
- /*
- if ( ! isset( $GLOBALS['custom_image_header'] ))
- $GLOBALS['custom_image_header'] = array();
- */
- remove_theme_support('custom-header');
- remove_theme_support('post-formats');
- }
- // Run after parent theme setup => http://justintadlock.com/archives/2010/12/30/wordpress-theme-function-files
- add_action( 'after_setup_theme', 'required_starter_after_parent_theme_setup', 11 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement