Using LessCSS

I’ve been experimenting with a number of CSS methods to try and make WordPress theme development more friendly for both myself, and for others who may want to tweak the theme when I have released it into the wild internet.

One particlar method I have been using is LessCSS.

I use the following code to add the less.js file, as well as linking to a .less file.

function itsb_lesscss() {
?><link rel="stylesheet/less" type="text/css" href="<?php echo get_template_directory_uri(); ?>/style.less">
<script src="<?php echo get_template_directory_uri(); ?>/js/less.js" type="text/javascript"></script><?php // Download the less.js file from http://lesscss.org/
}
add_action( 'wp_head' , 'itsb_lesscss' );
view raw functions.php This Gist brought to you by GitHub.

You can adjust the locations of the files to suit your file structure for your theme, but this will add the necessary code.

LineType Gen

Sick of editting all your polylines to turn LTGEN to On?  I know I was until I was told that you can have LTGEN set to On by default.  Simply type in: PLINEGEN and set the value to 1. … [Continue reading...]

Fotoshop

All you ever need is Fotoshop. Fotoshop by Adobé from Jesse Rosten on Vimeo. … [Continue reading...]

Protein Seems to be the Key

One of my earlier posts on the blog that I shared with my Facebook "friends" seemed to cause some form of stir.  I have managed to cause many a stir on Facebook with my status updates, and this was certainly one of them. From my reading of both online and offline literature about weight loss fat loss, all points of view in that discussion have been covered in some form or another, all with success.  I think that this is the main reason between my confusion between which path to go down, as … [Continue reading...]

Daily Fat Loss Thoughts #1

From reading Four Hour Body I learnt that to achieve results in terms of weight loss fat loss, you simply track one aspect related to fat loss (i.e. weight, % body fat, Total Centimetres)   … [Continue reading...]