Posts Filed as Web Dev

Using embeddable mp3 players – Part 2

In this tutorial, I cover how to use custom fields to embed an mp3 into your website (without installing a plugin).

Read the Full Article

Plugin Released: “Category Expander”

Tim and I finished a plugin today. It is the first plugin that we are officially releasing to the public. The plugin title is “Category Expander”. You can see it in action on the sidebar. Through the settings menu in the WordPress dashboard, you can choose which categories you’d l…

Read the Full Article

Using embeddable mp3 players – Part 1

A few weeks ago I wanted to add an mp3 to my daughter’s baby book blog (built on WordPress). At first I thought to install a plugin, but it seemed a bit much for my needs. After trying a few things, I eventually settled on a nice theme-integrated method that uses a google flash-based mp3 player. I&#…

Read the Full Article

Multiple Widget Locations

Did you know you can register multiple Widget locations in WordPress (self hosted blogs of course)? Well, you can. All you have to do is go to your functions.php file (default usage in /wp-content/themes/default/functions.php), where you’ll see something that looks like this: register_…

Read the Full Article

WordPress Plugin: Slim Title

By default, if a post is set to visibility:  Private, or Password Protected, the word “Private:” or “Protected:” is prepended to the title. With a simple google search I found a code snippet that worked in replacing those words with nothing, or if I so choose, anything I li…

Read the Full Article

All outside links open in a new window, with jQuery

Today a client asked if all the links on his site could open in a new window. I solved that problem with jQuery, and here’s how: <script type="text/javascript" charset="utf-8"> jQuery(document).ready(function() { jQuery("a").filter(function() { return this.hostname &&a…

Read the Full Article

float: left; and float: right;

I make websites for a living. I also make websites for fun, either way it’s what I do. When I’m making a 2-column layout, I always float the first left, and the second right. Why? Because I can avoid using too much margin and breaking the site in IE6, due to the notorious float margins bug. I d…

Read the Full Article

Absolutely positioned div disappears in IE6.

What is up with this? I really hate IE6, but this is so incredibly stupid that you have to do this. The problem is that if you have an absolutely positioned item next to a floated item, the absolutely positioned item mysteriously disappears. I spent a half-hour working on this before finding a resource…

Read the Full Article

Textmate WordPress Bundle Released (version 0.5)

It should be said here that there is a newer version of this bundle. The following version of the bundle has a few snippets that have errors. If this helps you, then good. I put a WordPress Textmate bundle I use for work on my If you use Textmate, just download, then double click to install. It’s not…

Read the Full Article