Category: Tutorials

A Simple Fade with CSS3

There was a time when the only way to fade an element or image was by using JavaScript/jQuery (see Creating a Mouseover Fade Effect with jQuery). With CSS3, you can…

Convert Hex Color to RGB using PHP

Converting certain values back and forth is often necessary when developing functions to help your website work the way you want it to. I needed a function that would convert…

Rotated Images with CSS3

I have been playing around with a lot of CSS3 lately due to PressWork, and I’ve come up with some cool tricks. One that I really like uses the transform…

Count Page Hits in WordPress

This is just a little snippet of code I wrote to count the number of hits on a specific page. I only wanted it to work on single post pages…

HTML5 Search Form in WordPress

Some of you may or may not know that I have been working on an HTML5 WordPress framework that was just released called PressWork. We are still squashing some bugs…

Run a Shortcode Anywhere in WordPress

WordPress shortcodes are macro codes that allow you to perform certain actions within the post content. By default they only display on single post pages within the post content. The…

Rewrite Search Result URL for WordPress

If you have ever done a search on a WordPress site you have probably noticed that the URL ends up looking something like this: http://your-site.com/?s=searchterm Even if you have set…