Posts tagged Javascript

Adding javascript to your theme using wp_enqueue_script

TO add a javascript file to your theme its easy to use header.php in your theme folder. However if there are plugins using same script libraries (like jquery, scriptaculous ) it may cause errors. Here i will show you how to add javascripts to your theme in a safe way using wp_enqueue_script.
Read More →

Add blog updates box to your site using rss reader script

Add blog updates box to your site using rss reader script

Google Ajax API allows us to easily import rss data using javascript. Using this simple script you can add any feed updates to your web site. Not only it is practical, it also makes sites load faster compared to php based readers.

RSS reader reads the feed after page load is complete so it doesn’t slow your page load. You can use a tiny loading image to show users something is loading there. You can view a demonstration of rss reader script here.

Read More →