Skip to content

Memory Hole

By Dave Kuhar | September 18, 2010
Posted in ,

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…

Read More

Replace the surfer dude 404

By Dave Kuhar | September 14, 2010
Posted in , ,

For some reason Chris Pearson created a goofy 404 message about surfing that doesn’t work for my clients. Maybe it doesn’t work for you either, so drop this code in your functions.php file and change it to whatever you like.

Read More

Feature Box with single post from designated category

By Dave Kuhar | August 19, 2010
Posted in , ,

Sometimes you need to throw something up front and center for all the world to see.

Read More

Footer mania continues

By Dave Kuhar | August 18, 2010
Posted in , ,

Maybe I mentioned this elsewhere, but what the hell, here is is again. To add a clone of the top nav, just do this:

Read More

Look! Another Footer!

By Dave Kuhar | August 4, 2010
Posted in , ,

Hot on the heels (heels! footer! haha!) of yesterday’s footer post, here’s a better way to code it, using an unordered list so it’s semantically correct:

Read More
Scroll To Top