There are many different ways to redirect a visitor from one URL to another. I prefer the PHP redirect. Let’s say for example you are an affiliate for a new online store and they have given you a unique affiliate link to post on your blog to track the referrals you generate. Most of the time, this link it pretty ugly. You may want to have a URL that looks more professional or perhaps easier for someone to type or remember. You can redirect visitors from the pretty URL to the actual affiliate link instantly and still receive credit for the referral.
Register multiple custom navigation menus in the new custom menu editor of WordPress 3.0. This allows for the creation of custom menus. Users will no longer need any plugins to manage or customize their navigation menus. However, not all themes are created equal. Many outdated menus don’t support custom menus. If you are married to your theme and it doesn’t support custom WordPress menus, then you can add them yourself. Here is how to add custom menus to your WordPress blog.
Last week, I needed to write a WordPress plugin which adds cross-browser support for the placeholder attribute for input fields. Display the label within the input field without changing the value attribute. The placeholder attribute is already supported in new versions of Firefox and Chrome but my plugin adds support for Internet Explorer (of course).
I’ll be honest with you, this one racked my brain for awhile. I don’t really know why I had so much trouble with this because I write jQuery all of the time. To avoid you going through the same trouble that I had, here is the jQuery script I wrote to infinitely rotate images when the mouse hovers over the images. If you have some tips, leave a comment. Maybe one day I’ll get around to writing up a WordPress Plugin for this. :)
Below is a list of media queries I use to help my define CSS rules within my stylesheet. Sometimes you just can’t always make your design responsive using math (target / context = result) so here are some media queries. You can also Google media queries CSS3 for more options. Not everything I do is always the best option but I want to help guide you down the right path. Place these queries in your stylesheet.
When creating a form, you typically post that form’s data to another file to process the input and do its magic. This can be difficult with WordPress because of the way it handles its data. There is a simple solution. We are going to post the form to the page it is currently on. Then [...]