Setting Up Virtual Hosts on MAMP

Typically I do most of my work on my computer in a localhost environment. Makes for much faster editing – I can change the file on my computer and changes are immediately seen on the “site” locally (the alternative would be edit, upload, wait, reload page, and repeat). Now, on my PC, I used to run a neat little program called XAMPP to put Apache, PHP and MySQL on my computer and turn...

read more ›

Auto-Create Page associated Widgets

So here’s the idea: I’ve had many clients in the past who wanted to have page-specific widgetized sidebars. Now, I’ve covered this before, but one thing has always gotten me: the fact that you have to write a lot of bloated code to get it to work. It seems like you should be able to pull the post slugs into some kind of array, and have the widgets auto-create themselves with a small bit...

read more ›

Creating WordPress Themes:Using Custom Fields

I need to get my bearings! I was away last week (my little brother got married! I used to change his diapers! I can’t believe it.), and I returned with an illness, so I’ve been unexpectedly down for the count this week as well. I’m still not 100%, but at least I can now sit here and do some things without feeling woozy. So, now I need to figure out where I left off and...

read more ›

Creating WordPress Themes: Split Navigation with CSS

So, we’ve covered the basics at this point, an the usefulness of the query_posts() function, as well as how to do cool things with your front page. I hinted at a few tutorials to come, so let’s start with one of those – it’s as good a place as any! What we’re going to cover today is one of the most commonly requested functions I see – having a main navigation (usually at the top...

read more ›