WordPress.org

Ready to get started?Download WordPress

Plugin Directory

PHP Liquid

Use liquid markup in your posts/pages/stylesheets.

1) Install WordPress 3.5 or higher

2) Download the latest from:

http://wordpress.org/extend/plugins/tom-m8te

http://wordpress.org/extend/plugins/php-liquid

3) Login to WordPress admin, click on Plugins / Add New / Upload, then upload the zip file you just downloaded.

4) Activate the plugin.

5) Edit your header.php and find bloginfo( 'stylesheet_url' ). Replace this with liquid_stylesheet_url().

6) Thats it, but if you want your own liquid tags, in your functions.php file write the following method

function override_mytheme_liquid_array() {

// Declare your liquid tags in this array.

return array('site_url' => get_option('siteurl'), "dude" => "TheOnlineHero");

// Then in your post/page or stylesheet type {{site_url}}, {{dude}}, to use them.

// Example:

// body {

// background: url({{site_url}}/images/test_image.png);

// }

}

Requires: 3.0.1 or higher
Compatible up to: 3.5.2
Last Updated: 2013-4-18
Downloads: 658

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.