Posts Filed as Tips

Customize Password Protected Text Using Custom Fields [WordPress]

I haven’t posted in a very long time, but as soon as I stumbled on this functionality I had to share it immediately, so here it is: It is possible to add a filter function to add new text to the password protected page. The code to add to your functions.php files is as follows: <?php add_filter( '…

Read the Full Article

jQuery Resizer! – resize objects that are greater than a specified width

Today I launched the new design of Escape From Cubicle Nation, which I’m very proud to have worked on. Props to Brian Morykon for the design, Joseph Hinson for the code. My last order of business in coding the site was that some of the Youtube videos and embeds had been inserted at a width of 640 pix…

Read the Full Article

What to do if a WordPress automatic upgrade fails

If you’ve ever been upgrading a WordPress installation and had it fail, leaving you in the dark depths of maintenance mode, you’ll agree with me that it can be quite a headache. Much like a site launch or a database move, it can take either 5 minutes, or 5 hours, but it never seems to fall in b…

Read the Full Article

Easy way to check for child pages (children) in WordPress

I was trying to create a sub-navigation menu that would only show if there were child pages in WordPress the other day, but to my knowledge, there is no has_children() or has_child() type of conditional available. I’m sure it’s because there are so many other ways to check for children.…

Read the Full Article

Quick demo of the CSS Extractor for WordPress Comments

Below is a quick video that shows how the CSS Extractor tool can be used to quickly pull css classes from your site’s markup, specifically with the WordPress comments, that are generated dynamically.

Read the Full Article

jQuery clear onfocus function

I haven’t posted since I released the quick posts plugin, so I wanted to drop a little something that might be useful to other front-end guys. Have you ever clicked on a form, and it didn’t clear on focus? That’s annoying, so what I usually do is add onfocus="this.value='';", but t…

Read the Full Article

How to add multiple pages at once with WordPress

I have since written a plugin for this purpose, you may read about it here: WordPress Plugin: Quick Posts Ok folks, this will be short. If you want to add several pages at once, I created a little script for you. Here it is: <?php include ('wp-blog-header.php'); $newPages = array( 'Page 1' => 'Lo…

Read the Full Article

How to Quickly Create Reusable Color Palettes in TextMate

Below is a quick video tutorial of using Mac OS’ built-in color picker to create color palletes for use in your CSS documents.

Read the Full Article

Photoshop Screencast: Creating Torn Edges

I was recently working on a project and came up with a decently automated solution for creating grunge torn edges in photoshop…and here it is:

Read the Full Article