Register Plus Redux for WordPress

I had a site that I needed to keep completely private: only the login and registration pages were to be visible to the public, and only registered members were allowed to see the content. I wanted a way to fully control who registered for the site, short of my registering each member myself. Register Plus […]
jQuery to Resize Videos

When WordPress introduced post formats in version 3.1, I decided to make sure all of my themes were able to display each one. The only issue I encountered was with videos. Not all browsers excepted setting a specific width and an auto height using CSS, so I had to develop a little bit of code […]
The New Columns Function in Arturo

I have just release the latest update to my WordPress theme framework Arturo. I have added many new features but one of the most interesting one is the new arturo_columns() function. This function allows you to create multi-grid layouts for your posts, similar to Magazine Basic and Magazine Premium. Here is a snapshot of the […]
Server Down!

I’ve spent the past four days dealing with an attack on my server that caused all of my sites to go offline. Talk about a long weekend. I send out apologies far and wide to anyone who tried to access my sites over the past few days and got nothing but an error message. I’ll […]
Style a Select Box Using Only CSS

I often have to use a select box when I’m putting together a custom form that requires a drop down list. It took me a while to figure out how to easily style the select box using only CSS since certain parts are browser specific, such as the drop down arrow. Here is how a […]
is_child() Conditional Function for WordPress

I wrote a little function a while back to Check if a Page is a Child of Another Page in WordPress called is_child(). It used the page ID to return a true or false value dependent on if the current page was a child of the parent page specified. I have recently made a little […]
Just Updated Magazine Columns Plugin

It has been almost two years since I last updated my Magazine Columns plugin for WordPress, and I guess there were a few outstanding issues that needed to be addressed. I just gave it a once over and tested it in WordPress 3.1.1 and everything seems to now be working the way it should. The […]
Helpful Page Functions for WordPress

Over the past month I have been working on a large project that has taken up a lot of my time, but I wanted to quickly share two small functions that helped me. The first will display the content of a page by passing the page ID. Add the following code to your functions.php file: […]
Access Another Database in WordPress

When accessing the database in WordPress, you need to use the global variable $wpdb. This will take the constants you set in wp-config.php to connect to your database and retrieve whichever results you specify. But what if you have a second database you wish to connect to for whatever reason? To do that all you […]
Enqueueing a Script After wp_head()

I was working on a feature for Arturo to add (or enqueue) a script only if a certain function was used on a page. The problem was, that you can’t use wp_enqueue_script() after wp_head() since you can’t hook into an action that has already completed. It took some digging around to figure this one out […]