[wp-hackers] Are depreciated items ever removed from core
Frank Bueltge
frank at bueltge.de
Thu Dec 6 07:24:55 UTC 2012
I think the best way to define via constant the adress, like below
// Custom content directory
define( 'WP_CONTENT_DIR', dirname( __FILE__ ) . '/wp-content' );
define( 'WP_CONTENT_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/wp-content' );
// Custom plugin directory
define( 'WP_PLUGIN_DIR', dirname( __FILE__ ) . '/wp-plugins' );
define( 'WP_PLUGIN_URL', 'http://' . $_SERVER['HTTP_HOST'] . '/wp-plugins' );
// Custom mu plugin directory
define( 'WPMU_PLUGIN_DIR', dirname( __FILE__ ) . '/wpmu-plugins' );
define( 'WPMU_PLUGIN_URL', 'http://' . $_SERVER['HTTP_HOST'] .
'/wpmu-plugins' );
see: https://github.com/bueltge/WordPress-Starter
But you acan always go a extremly cusomt way via custom directory for
different wp plugins; use this idea and solution:
https://github.com/chrisguitarguy/WP-Plugin-Directories
Best regards
More information about the wp-hackers
mailing list