About this plugin
PHP Liquid is a WordPress plugin that allows you to add liquid tags to your stylesheet and page/posts.
0, I’ve even included a handy GUI interface which allows you to create and edit your liquid tag variables.
As part of this plugin, you can also create an image slider using liquid.
To find out what liquid is please go to the following url:
org/
Please read the install instructions carefully. php if you want to use liquid in your stylesheet.
If you write this method in your theme functions file:
function override_mytheme_liquid_array() {
return array(‘site_url’ => get_option(‘siteurl’), “items” => array(“1″,”2”));
}
css file:
{% for item in items %}
#banner_{{ item }} {
png");
}
{% endfor %}
your website will actually render the following css:
banner_1 {
png”);
}
banner_2 {
png”);
}
So with this plugin, you can use dynamic css, cool hey.
4 – You can now write:
echo(parse_liquid(“{{site_url}}”));
into your template, and render liquid tags in your template.