Use jQuery to Replace a Word with a Link
If you use a word multiple times on your site and you don’t feel like going through all your posts to replace every instance of it, you can use jQuery…
If you use a word multiple times on your site and you don’t feel like going through all your posts to replace every instance of it, you can use jQuery…
When people visit my site and do a search, I assume they’re looking for results within my posts and not in any of my static pages. Too bad WordPress automatically…
For some reason, a lot of people seem to be using extremely long post titles. I am a firm believer in making a title as precise as possible to make…
If you’re using WordPress 2.9.x, then the latest version of jQuery included is 1.3.2. What if you want to take advantage of new features in version 1.4, like delaying an…
I know I have already done a fade effect between two images with jQuery, but here is a quick little piece of code that will just add a nice animated…
This is a quick little piece of code that I have been using a lot lately. I needed to get the category ID but all I had to work with…
There are times when you need to strip one specific HTML tag from a string and the PHP function strip_tags() doesn’t work the way you want it to. strip_tags() allows…
I just stumbled across these two little pieces of code and thought that they might be useful to some people out there who want to mess around with the default…
I was putting together a bit of code to pull in a Twitter feed, similar to what you see in the footer of bavotasan.com. I got everything working properly but…
Ever needed to check if a number is even or odd? If so, here is a pretty simple piece of code that does just that.