{"id":32318,"date":"2014-10-19T04:24:47","date_gmt":"2014-10-19T04:24:47","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/sass-compiler\/"},"modified":"2014-10-19T04:24:47","modified_gmt":"2014-10-19T04:24:47","slug":"sass-compiler","status":"publish","type":"plugin","link":"https:\/\/ml.wordpress.org\/plugins\/sass-compiler\/","author":9471012,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0","tested":"4.0.38","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"SASS Compiler","header_author":"Etienne Baudry","header_description":"","assets_banners_color":"e8e8e8","last_updated":"2014-10-19 04:24:47","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/webmaestro.fr\/sass-compiler-wordpress\/","header_plugin_uri":"http:\/\/webmaestro.fr\/sass-compiler-wordpress\/","header_author_uri":"http:\/\/webmaestro.fr","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2469,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.0":"<ul>\n<li>Initial commit<\/li>\n<\/ul>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1010285","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1009830","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1009831","resolution":"1","location":"assets"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1009831","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,8862],"plugin_category":[],"plugin_contributors":[83342],"plugin_business_model":[],"class_list":["post-32318","plugin","type-plugin","status-publish","hentry","plugin_tags-compiler","plugin_tags-sass","plugin_contributors-webmaestrofr","plugin_committers-webmaestrofr"],"banners":{"banner":"https:\/\/ps.w.org\/sass-compiler\/assets\/banner-772x250.png?rev=1009830","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/sass-compiler\/assets\/icon-256x256.png?rev=1010285","icon_2x":"https:\/\/ps.w.org\/sass-compiler\/assets\/icon-256x256.png?rev=1010285","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/sass-compiler\/assets\/screenshot-1.jpg?rev=1009831","caption":"The 'Compiler' page"},{"src":"https:\/\/ps.w.org\/sass-compiler\/assets\/screenshot-2.jpg?rev=1009831","caption":"The 'Variables' page after configuration"}],"raw_content":"<!--section=description-->\n<p>Write SASS, edit your variables and compile your stylesheet from your dashboard.<\/p>\n\n<p><a href=\"http:\/\/webmaestro.fr\/sass-compiler-wordpress\/\">Read the documentation<\/a><\/p>\n\n<ul>\n<li><p>Register and enqueue your SASS 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-sass-handle', 'http:\/\/example.com\/css\/mystyle.scss', $deps, $ver, $media );\n    `<\/p><\/li>\n<li><p>Configure the plugin with the <code>sass_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 SASS variable value<\/p>\n\n<pre><code>`\n<\/code><\/pre>\n\n<p>sass_set( $variable, $value );\n    `<\/p><\/li>\n<li><p>Get a SASS variable value<\/p>\n\n<pre><code>`\n<\/code><\/pre>\n\n<p>sass_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:\/\/leafo.net\/scssphp\/\">the scssphp Compiler<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>sass-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 'SASS' 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.0<\/h4>\n\n<ul>\n<li>Initial commit<\/li>\n<\/ul>","raw_excerpt":"SASS compiler for WordPress. Allows you to write and compile SASS, and to edit style variables straight into your WordPress dashboard.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/32318","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=32318"}],"author":[{"embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/webmaestrofr"}],"wp:attachment":[{"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=32318"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=32318"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=32318"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=32318"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=32318"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ml.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=32318"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}