I have always been very excited about changing the ‘look’ of my site, dressing it up with new banner and new layout. My lack of artisitc genes doesn’t stop me from fiddling with the template, the code and script. It gives me tremendously joy and satisfaction when I managed to tweak those intimidating codes.
Since I migrated my site to my self hosted wordpress, I have been overwhelmed by the versatility of this new platform. I love the many ready written plug-ins and the fact that, if I am ever geeky enough, I can write my own plug-ins in PHP ! The good thing about running wordpress on my own server is that, I can almost change anything ! I am not so sure whether you can do this much if you are running the site from wordpress.com itself.
Comparing Bloggers to Wordpress, is like comparing Windows to Linux. Bloggers do has its advantages. Firstly it is from Google, anything from this big giant can’t be too bad. Secondly, it is like Windows, Easy to Use, and that alone is enough to make a lot of bloggers stay on.
Having said that, I thought of sharing with you some tips on how to create some snowflakes to your site this holiday season.
Method 1 : (for blogger and wordpress.com users, basically what this does is call the script from my server)
Step 1 : Open template file
Step 2 : Insert
<script type=”text/javascript” src=”http://4malmal.com/wp-content/themes/4malmalBlog/snow.js”></script>
somewhere between the <head></head> tag
Step 3 : Save template file
Easy peasy, you are done !
Method 2 : (for users who are hosting own site and can access the template files, you may like to run the script from your own server)
Step 1 : Save the snow flake image
into your computer with filename snow.gif. Upload image to your site.
Step 2 : Go to http://4malmal.com/wp-content/themes/4malmalBlog/snow.js, copy the chunk of code, paste it in notepad/wordpad. Save as snow.js
Step 3 : Near the start of the above code, look for
//Configure below to change URL path to the snow image
var snowsrc=”http://www.4malmal.com/wp-content/themes/4malmalBlog/snow.gif”
Replace snowsrc (in blue) with the URL of the image uploaded in Step 1.
Step 4 : Save file
Step 5 : Upload edited snow.js to template directory of your site
Step 6 : Edit header template, add the following <script type=”text/javascript” src=”<?php bloginfo(’template_directory’); ?>/snow.js”></script> between the <head></head> tag
Step 7 : Save template
VOILA !
It is SNOWING already !!!
Comments