Category Archives: Code Snippits
By Brandon | Published: July 5, 2011
Last night when I upgraded to WordPress 3.2 on a site we're working on, I got a WSoD on the front end of the site after I logged in. Luckily it was easy enough to fix.
By Brandon | Published: September 13, 2010
A bunch of people missed my talk at WordCamp Los Angeles because I was scheduled at the same time as Alana Joy (warning: not safe for work) from Suicide Girls. I decided to post my slides over at SlideShare so that those who missed out could still benefit from them.
By Brandon | Published: July 17, 2009
I read a great tutorial over at NetTuts today that showed how to create a “Twitter-Like ‘load more’” button. It was grounded in WordPress, yet the author David Walsh wanted to keep it general so that anyone could integrate the functionality into their PHP code. He got his hands a bit dirty by accessing the [...]
By Brandon | Published: March 17, 2009
Ok. So, the most visited posts on this site all have to do with ordering posts by custom keys (here & here). We wrote some functions that made this super easy. Just copy/paste and you were ready to go. Well, we came across a little gem on the WordPress Codex that greatly simplifies this process.
By Brandon | Published: January 13, 2009
I’ve gotten quite a few questions about how to get this to work on a specific page, or only within a specific category. I actually had the same issue when building the script originally. The trick is that you can’t just use the conditional tags in the functions page. At that point, it’s already too [...]
By Brandon | Published: November 17, 2008
Just recently, we completed a website using WordPress for a realtor named Jon Dishon. One of his requests was to have his listing be ordered by price. Since we created his listings from simple posts with WordPresss’ Custom Keys, it was difficult for us to do this since Price is one of those keys. We [...]
By Brandon | Published: November 10, 2008
We’ve been adding a custom panel for the write post page for one of our clients and having the hardest time diagnosing the errors that we’ve been getting. It turns out that using the built-in jQuery library that ships with WordPress was the problem. We ended up having to download the library from the jQuery [...]