By

Close-up: wp_head Action Hook

I recently needed to add some code just before the closing header tag on my theme pages, via a WordPress Plugin.

Of course, I made use of the wp_head action hook which is perfect for this task. However, my requirement was a little more specific than this. What I actually needed was to make sure the code was guaranteed to be the LAST code added right before the closing head tag. Read More

By

Set a New Default Avatar with Filter Hooks

One way to add a bit of extra uniqueness to your theme is to include a new default avatar. The standard one we all know and love is the ‘Mystery Man’ avatar as seen below.
Read More