Coder Social home page Coder Social logo

sshyran / sass-for-wordpress-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rspindel/sass-for-wordpress

0.0 1.0 0.0 93 KB

“Sass for Wordpress” enables the use of Sass (Syntactically Awesome StyleSheets) in Wordpress projects.

Home Page: http://www.80beans.com/open-source/sass-for-wordpress-plugin/

PHP 100.00%

sass-for-wordpress-1's Introduction

=== Sass for Wordpress ===
Contributors: 80beans
Tags: sass, css
Requires at least: 2.0
Tested up to: 2.8.4

"Sass for Wordpress" enables you to use Sass (Syntactically Awesome StyleSheets) in your Wordpress project.

== Description ==

"Sass for Wordpress" enables you to use Sass ([Syntactically Awesome StyleSheets](http://sass-lang.com/)) in your Wordpress project.

== Installation ==

First, you need to have the Haml gem installed on your server to use the plugin (Sass comes bundled with Haml). Please have a look at the Sass website for [installation instructions for Haml/Sass](http://sass-lang.com/download.html).

Second, your PHP version needs to be 5+ and shouldn't run in safe mode. We need to use the exec() function to run the command line tool to transform Sass into CSS.

If you're sure you have done the above, you are ready to go (syntax below)!

== Changelog ==

= 1.0 =

* Initial release.

== Usage/syntax ==

Simply refer to your Sass file by using the sass('filename') function. For instance, to use a style.sass file in your theme directory (which will be transformed into style.css), put this in your head:

<link rel="stylesheet" href="<?php echo sass('style'); ?>" type="text/css" media="screen" />

sass-for-wordpress-1's People

Contributors

leth avatar roytomeij avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.