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...
0 comments
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...
0 comments
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...
1 comment
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...
1 comment
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...
8 comments
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...
11 comments
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...
5 comments
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()...
2 comments
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...
11 comments
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...
7 comments
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.
6 comments