Created
November 26, 2015 19:43
-
-
Save wpmark/bee44d021ddf312dfa53 to your computer and use it in GitHub Desktop.
Custom Content Directory for WordPress
This file contains 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 | |
* 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