{"id":29400,"date":"2014-05-11T23:24:07","date_gmt":"2014-05-11T23:24:07","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/less-compiler\/"},"modified":"2014-10-10T01:43:47","modified_gmt":"2014-10-10T01:43:47","slug":"less-compiler","status":"publish","type":"plugin","link":"https:\/\/bal.wordpress.org\/plugins\/less-compiler\/","author":9471012,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.6","stable_tag":"1.6","tested":"4.0.38","requires":"3.9","requires_php":"","requires_plugins":"","header_name":"LESS Compiler","header_author":"Etienne Baudry","header_description":"","assets_banners_color":"e8e8e8","last_updated":"2014-10-10 01:43:47","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/webmaestro.fr\/less-compiler-wordpress\/","header_plugin_uri":"http:\/\/webmaestro.fr\/less-compiler-wordpress\/","header_author_uri":"http:\/\/webmaestro.fr","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2243,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.6":"<ul>\n<li>Added search box for variables<\/li>\n<li>Use tabs<\/li>\n<li>Parse sources only on admin side<\/li>\n<\/ul>","1.5":"<ul>\n<li>Uses filter for config<\/li>\n<li>Better use of cache<\/li>\n<li>Updated dependencies<\/li>\n<li>Cleaner UI<\/li>\n<\/ul>","1.3":"<ul>\n<li>&quot;wp_enqueue_style&quot; support<\/li>\n<li>Moved cache directory to wp-content\/cache<\/li>\n<\/ul>","1.2":"<ul>\n<li>Minor fixes (typo, dependences)<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1004214","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"919739","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.5","1.6"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1004190","resolution":"1","location":"assets"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1004190","resolution":"2","location":"assets"}},"screenshots":{"1":"The 'Compiler' page","2":"The 'Variables' page after configuration"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[40098,4890],"plugin_category":[],"plugin_contributors":[83342],"plugin_business_model":[],"class_list":["post-29400","plugin","type-plugin","status-publish","hentry","plugin_tags-compiler","plugin_tags-less","plugin_contributors-webmaestrofr","plugin_committers-webmaestrofr"],"banners":{"banner":"https:\/\/ps.w.org\/less-compiler\/assets\/banner-772x250.jpg?rev=919739","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/less-compiler\/assets\/icon-256x256.png?rev=1004214","icon_2x":"https:\/\/ps.w.org\/less-compiler\/assets\/icon-256x256.png?rev=1004214","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/less-compiler\/assets\/screenshot-1.jpg?rev=1004190","caption":"The 'Compiler' page"},{"src":"https:\/\/ps.w.org\/less-compiler\/assets\/screenshot-2.jpg?rev=1004190","caption":"The 'Variables' page after configuration"}],"raw_content":"<!--section=description-->\n<p>Write LESS, edit your variables and compile your stylesheet from your dashboard.<\/p>\n\n<p><a href=\"http:\/\/webmaestro.fr\/less-compiler-wordpress\/\">Read the documentation<\/a><\/p>\n\n<ul>\n<li><p>Register and enqueue your LESS sheets the same way you would do for your CSS.<\/p>\n\n<pre><code>`\n<\/code><\/pre>\n\n<p>wp_enqueue_style( 'my-less-handle', 'http:\/\/example.com\/css\/mystyle.less', $deps, $ver, $media );\n    `<\/p><\/li>\n<li><p>Configure the plugin with the <code>less_configuration<\/code> filter.<\/p>\n\n<p>Configuration of the plugin is optional, but you should at least register your variables if you are using a CSS framework.<\/p><\/li>\n<li><p>Set a LESS variable value<\/p>\n\n<pre><code>`\n<\/code><\/pre>\n\n<p>less_set( $variable, $value );\n    `<\/p><\/li>\n<li><p>Get a LESS variable value<\/p>\n\n<pre><code>`\n<\/code><\/pre>\n\n<p>less_get( $variable );\n    `<\/p><\/li>\n<\/ul>\n\n<p>You will most likely use these functions in your theme's <code>functions.php<\/code>.<\/p>\n\n<p>The plugin uses <a href=\"http:\/\/lessphp.gpeasy.com\/\">the Less.php Compiler<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>less-compiler<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Find the plugin's pages under the new 'LESS' menu<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>No question asked<\/dt>\n<dd><p>No answer to give.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.6<\/h4>\n\n<ul>\n<li>Added search box for variables<\/li>\n<li>Use tabs<\/li>\n<li>Parse sources only on admin side<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Uses filter for config<\/li>\n<li>Better use of cache<\/li>\n<li>Updated dependencies<\/li>\n<li>Cleaner UI<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>\"wp_enqueue_style\" support<\/li>\n<li>Moved cache directory to wp-content\/cache<\/li>\n<\/ul>\n\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Menu icon and cache warning<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Minor fixes (typo, dependences)<\/li>\n<\/ul>","raw_excerpt":"LESS compiler for WordPress. Allows you to write and compile LESS, and to edit style variables straight into your WordPress dashboard.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/29400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=29400"}],"author":[{"embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/webmaestrofr"}],"wp:attachment":[{"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=29400"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=29400"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=29400"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=29400"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=29400"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/bal.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=29400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}