Created
January 4, 2014 13:20
-
-
Save yanknudtskov/8255273 to your computer and use it in GitHub Desktop.
Move the Wordpress Content Folder This new, more easily accessible wp-content folder will be used instead of the one in the WordPress directory. This will mean you will lose access to the default themes. You can either manually move them to the new content directory or you can register the original wp-content folder using register_theme_director…
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
| define( 'WP_CONTENT_DIR', dirname( __FILE__ ) . 'path/to/wp-content' ); | |
| define( 'WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/path/to/wp-content' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment