Created
July 23, 2014 16:20
-
-
Save ChrisCree/8874cfb45e26ca019f6c to your computer and use it in GitHub Desktop.
To make your Genesis child theme display its version in the style sheet link instead of the Genesis version add this statement to your child theme's functions.php file.
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 | |
// Don't copy opening PHP tag above | |
// Define child theme version | |
define( 'CHILD_THEME_VERSION', wp_get_theme()->get( 'Version' ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment