WordPress

CPT Single Post Template with Content Check

This code is written to work with Pippin’s Easy Custom Post Types. While we’re making heavy use of Types & Views these days (check them out, they’re freaking awesome), we thought this code might be handy to someone out there in WP land. We used this function to create a custom post type for listing…

Read More

Using WordPress: The Series

We have a series of “how-to” videos we add to our client’s sites. The sample here will make your life easier when it comes to getting your photos cropped and scaled for use on your own WordPress site — this comes in handy if you don’t have a copy of Photoshop or another image editor…

Read More

A different way to include stylesheets

Here’s another way to link to stylesheets. It may be overkill for some things, but definitely useful for plugin developers. I’m thinking of sending the link to every plugin author who echoes 50 lines of CSS into my page headers. Thanks a lot.

Read More

Memory Hole

Tired of seeing this? Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 7680 bytes) Open wp-config.php, scroll to the bottom. Where you see this: /** Sets up WordPress vars and included files. */ require_once(ABSPATH . ‘wp-settings.php’); change it to this: /** Sets up WordPress vars and included files. */ define(‘WP_MEMORY_LIMIT’, ’64M’);…

Read More