Moving jQuery and other script code to the bottom of html code in Worpdress
17 March 2013 | Category: PHP, WordPress | Comments (0)
Why script
(eg. JavaScript) needs to be put at the bottom of html
code is nicely described in article High Performance Web Sites: Rule 6 – Move Script[……]
WordPress and checking if user is on home page
5 February 2012 | Category: WordPress | Comments (0)
Sometimes we want to check if the user is on home page. This can be done by this little function. Just add this code to your functions.php
and use it[……]