Creating a Cross Reference

In this brief tutorial I’ll do my best to explain how to set up and use phpxref on a Mac OS X 10.6 and give a quick walk through of how to use it.

Continue Reading

Just switched out my theme again! Working on a new theme called Nighthawk. I was originally going to make Ghostbird 2 but, when all was said and done, I decided to make a different theme all together. Wish me luck!

Adding Context to Template Parts

One thing that I learned while creating the Ghostbird theme was that is is really important to take advantage of as many templates as possible. I have always said that “If I ever released a theme, it would only have one template file”. This is how Ghostbird was structured for about 90% of the time spent developing it. If you look at version 0.9.1, the only template file you will find is index.php. It was not until a very late stage that I saw the error of my ways and decided to add in other template files like search.php, 404.php and many more.

Continue Reading

Thoughts on Theme Documentation

If you’ve ever written a line of code before, I’m sure that the following scenario has reared it’s ugly head at some point in time. For one reason or another, you need to revisit code that you wrote in the past. Perhaps you remember writing something like this:

Continue Reading

Repeating the same thing over and over again … blasting the music so my neighbors don’t think I’m crazy … time for sleep … Ghostbird 2 is in the works

Scaling Images in IE8 with CSS max-width

Now that I’ve officially dropped support for IE6 in my work (a little late to the party? you ask … sure, I hope you saved some cake) it seemed like a good time to start introducing more CSS2 into my code. One of the problems that I faced was allowing an image to scale proportionally if it is larger than a predetermined size.

Continue Reading

Going to Seattle

So it seems like I made good on the idea presented in my last update. I’ve booked a seat on a north-bound train and will be in Seattle tomorrow afternoon! Never been to Seattle before and I’m pretty excited. Going to check out the WordPress Meetup to meet some developers as well as get the latest news on next month’s WordCamp.

This is all well and good and then I realized …

Continue Reading

Too much… all at once … crazy … crazy … crazy!!! I’ve I survive this latest influx of “Mike, we need it now!” I’m definitely going on vacation. Gonna take the train up to Seattle for the WordPress Users Group and see what goes down. If I survive, that is!

Thoughts on Localizing and Escaping a string with HTML

So, let’s say my WordPress extension needs to generate a string like this 300 × 400px. I would probably choose to use the following html markup:

Continue Reading

ArtPress Development is Now Public

I’ve taken a break from this plugin for quite a while now and now it’s time to revisit it and, for lack of a better way to express it, get ‘er done. This is one of my first steps into custom post_types in WordPress 3.0 and there’s definitely some wonky stuff going on inside. Continue Reading

Fork me on GitHub