Daily archives: July 1st, 2009

Smarter Hooks

Now that everyone’s finally understanding the benefits of using theme frameworks and the like, I’m noticing a lot more hooks in themes: theme_before_location(); theme_location(); theme_after_location(); Where location is the location of that particular hook (e.g. header, footer, loop). Now that’s great and all, but here’s a smarter way: do_atomic( ‘location’ ); Where do_atomic is: // Registers three action hooks at once. function do_atomic( ... Read More

About Ptah

I’m a 21 year old web developer, entrepreneur, and founder of Design by Craftsmen, web creative studio specializing in custom WordPress solutions. Get to know me.

Twitter