Skip to content

Instantly share code, notes, and snippets.

@WebEndevSnippets
Created October 28, 2012 15:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WebEndevSnippets/3968887 to your computer and use it in GitHub Desktop.
Save WebEndevSnippets/3968887 to your computer and use it in GitHub Desktop.
WordPress: Define URL Location Constants
/** Define URL Location Constants */
if ( ! defined( 'CHILD_URL' ) )
define( 'CHILD_URL', get_stylesheet_directory_uri() );
define( 'WEBENDEV_LIB', CHILD_URL . '/lib' );
define( 'WEBENDEV_JS' , CHILD_URL . '/lib/js/' );
define( 'WEBENDEV_CSS' , CHILD_URL . '/lib/css/' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment