Whenever I am developing a plugin or general theme modification for WordPress I tend to use the default theme. TwentyTen is the current default theme and, while I think that it is really nice in production sites, it posses an awkward characteristic when debugging code. The header is huge!
Here is one line of code which allows you to temporarily “hide” the header while developing functionality that displays below it. My screen’s resolution is 1024×768 and this line of code helps me to see changes immediately upon refresh without having to scroll.
body{ position:relative; top: -310px; }
View the Code
Posted: August 24th, 2010
Posted in: Code Snippets
Topics covered: CSS
I’m working on a theme project this morning and I needed to enable thickbox on the front-end of the site for a few different image galleries created with the gallery shortcode. Here is the solution that I came up with. I believe it to be the easiest way to accomplish this task with the smallest footprint on a WordPress installation. Please let me know your thoughts in the comments section.
View the Code
2 Comments
Posted: August 8th, 2010
Posted in: Code Snippets
Topics covered: jQuery
A simple jquery effect for animating the display of hidden meta information for thumbnail images. For best results, this script should be ran from the same directory that WordPress is installed in.
View the Code
Posted: August 7th, 2010
Posted in: Code Snippets
Topics covered: jQuery
Here’s a collection of functions that were inspired by this post in the WP Tavern forums. The goal is to activate page templates for a given custom post_type. The following code worked well running 3.0.
View the Code
It’s official! My proposal has been accepted for WordCamp Portland this year. The presentation is titled New and Exciting Ways to Organize your WordPress-Powered Website and focuses on using custom taxonomies to provide a better experience for your visitors. My goal is to create a presentation that will be instructive and entertaining to WordPress users of all skill levels
But I can’t do it alone… No, I need your help!
Continue reading

Posted: August 2nd, 2010
Posted in: WordCamp
Topics covered: Help Me!
This function really has nothing to do with WordPress other than the fact that I removed it from one of my WordPress plugins. I posted it here in case I need it in the future.
View the Code
Posted: July 29th, 2010
Posted in: Code Snippets
If you’ve been following the ArtPress project at all you know that I’ve been saying “I’ll have a BETA out in about a week” for more than a couple of weeks now. I’m writing to inform you that I’m still plugging away and am in the home stretch. There’s just a few things that need to be taken care of:
Continue reading
2 Comments
Posted: July 29th, 2010
Posted in: News
Topics covered: ArtPress
It’s been a while since I posted anything here. And yes! Yes I do have a good excuse. I’ve pretty much taken the past month and a half to cook up a new WordPress plugin. It’s called ArtPress and should be in BETA very soon. I’m working on the logistics of launching it + squashing all the bugs. I posted a couple of questions here regarding a few areas in which I do not have all that much experience.
Continue reading
14 Comments
Posted: July 25th, 2010
Posted in: News
Topics covered: ArtPress, Media
The following code snippet will enable your theme to append the slug of every term of a given taxonomy that has been associated to the current post. You will most likely want to change the value of the $taxonomy variable to match a taxonomy registered for the post type you are targeting.
View the Code
1 Comment
Posted: July 11th, 2010
Posted in: Code Snippets
Topics covered: CSS, Taxonomy
I was so stoked when I was reading a blog post on Justin Tadlock’s site about custom post types. He introduced me to a new way of hooking into the WP_Query class and I was so excited that I had to leave a comment. I’ve been writing custom functionality into themes using this method ever since and it has really saved me some time.
View the Code
2 Comments
Posted: June 17th, 2010
Posted in: Code Snippets
Topics covered: The Loop
Recent Comments
08/28 - Israel Curtis
Radio Categories
08/23 - Michael Fields
Radio Categories
08/23 - ovidiu
Taxonomy Images
08/23 - Michael Fields
Taxonomy Images
08/23 - ovidiu
Taxonomy Images