Last active
August 29, 2015 13:57
-
-
Save kopepasah/9592441 to your computer and use it in GitHub Desktop.
This Gist contains code for my 'Easily Add Less CSS Pre-Processor to any WordPress Theme' tutorial on kopepasah.com.
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
git submodule add git@github.com:kopepasah/wp-theme-toolkit-less.git lib/less |
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
add_filter( 'twentyfourteen_enable_less_dev', '__return_true' ); |
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
add_filter( 'twentyfourteen_enable_minified_styles', '__return_true' ); |
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
add_filter( 'twentyfourteen_enable_less', '__return_true' ); |
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
require_once( dirname( __FILE__ ) . 'lib/less/init.php' ); |
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
require_once( dirname( __FILE__ ) . '/less/init.php' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment