Aug
24
2011
colorboxes_sml

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...

Read More

7 comments

Aug
11
2011
spacewp

Add a Post’s Category Name to Body Class in WordPress

I was working with Digibomb on presswork.me and we needed to add the current post’s category name to the body class in order to style the page differently from...

Read More

8 comments

Aug
08
2011
rotate

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...

Read More

11 comments

Jul
31
2011
html5video

Shortcode for HTML5 Video Tag in WordPress

HTML5 has made it a lot easier to include certain elements. Especially videos, since you no longer have to embed them with all those parameters. Here’s a short code...

Read More

10 comments

Jul
21
2011
numbers_sml

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...

Read More

7 comments

Site5 Affiliate Link

Jul
15
2011
html5

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...

Read More

7 comments

Jul
07
2011
muchwp

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....

Read More

6 comments

Jun
30
2011
removeimg

A Better Way to Remove Images from a WordPress Post

I had originally written about Removing Images from a WordPress Post quite a while ago, and while that snippet still works, I recently discovered another way to do it...

Read More

10 comments

Jun
21
2011
wp_search_rewrite

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...

Read More

7 comments

Jun
18
2011
wordpress-dropbox-small-logos

WordPress Backup to Dropbox Plugin

Having a backup strategy is a definite must for any website, whether it’s for a small blog or a big commercial site. Think about the number of hours that...

Read More

6 comments