Skip to content

Instantly share code, notes, and snippets.

@ChrisCree
Created July 23, 2014 16:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChrisCree/8874cfb45e26ca019f6c to your computer and use it in GitHub Desktop.
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.
<?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