Skip to content

Instantly share code, notes, and snippets.

@wpmark
Created November 26, 2015 19:43
Show Gist options
  • Save wpmark/bee44d021ddf312dfa53 to your computer and use it in GitHub Desktop.
Save wpmark/bee44d021ddf312dfa53 to your computer and use it in GitHub Desktop.
Custom Content Directory for WordPress
<?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