Neat and organized, just how I like it.
Archive for the ‘Code Samples’ Category

Comma-Separated Categories in WordPress

Recently I worked on a project in WordPress that was going to have a lot of categories and I wanted to display the categories comma delimited. After fooling with WordPress’s wp_list_categories function to list categories, I realized that it only allowed you to display categories as a list or delimited by a <br>. So after looking around on Google to no avail, I decided to whip up a function that allows for different delimiters. The function is fairly simple with one argument for the string of the delimiter.

Customizable Twitter Badge in PHP5

What’s Twitter? A global community of friends and strangers answering one simple question: What are you doing? Answer on your phone, IM, or right here on the web!

I wrote a script that uses the Twitter API to build a customizable twitter status badge. I’m pretty much a novice PHP programmer and this is the first piece of code I’m releasing. It should