Skip to content

Instantly share code, notes, and snippets.

Created November 26, 2015 19:43
What would you like to do?
Custom Content Directory for WordPress
* Custom Content Directory
define( 'WP_CONTENT_DIR', dirname( __FILE__ ) . '/content' );
define( 'WP_CONTENT_URL', 'http://' . $_SERVER[ 'HTTP_HOST' ] . '/content' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment