roborourke / wp-less

Provides a LESS compiler compatible with wp_enqueue_style() for rapid CSS development in themes and plugins.
MIT License
217 stars 55 forks source link

Don't assume WP_CONTENT_DIR is /wp-content/ #8

Closed willmot closed 12 years ago

willmot commented 12 years ago

wp-less currently breaks if you change WP_CONTENT_DIR to be something other than /wp-content/.

We use the following layout for our projects: http://github.com/humanmade/HM-Base/.

Basically WordPress is submoduled into /wordpress/ and then WP_CONTENT_DIR is set to / so web root looks like:

plugins/
themes/
index.php
uploads/
wordpress/
wp-config.php
roborourke commented 12 years ago

Thanks Tom, this is a much tidier solution.