child theme Archives - thehazels child theme Archives - thehazelsthehazels

Tag Archives for child theme

wp_enqueue_script warning

Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) This PHP notice warning … Continue reading

07. January 2014 by Antonia Whitaker
Categories: Wordpress | Tags: , | Leave a comment

remove_action function

There are occasions using a child theme when you want to replace the original action with your own. WordPress provides a function for this: <?php remove_action( $tag, $function_to_remove, $priority, $accepted_args ); ?> However, if you are overriding a parent theme, then the action will not yet exist. … Continue reading

11. December 2013 by Antonia Whitaker
Categories: Wordpress | Tags: | Leave a comment

Modifying a theme

The best way to make any changes to a theme is to create a child theme. Full details are in the WordPress Codex. Here’s a reminder of the steps: Create directory for theme in wp-content/themes – convention is <name of … Continue reading

19. October 2013 by Antonia Whitaker
Categories: Wordpress | Tags: | Leave a comment