WordPress Shortcodes in Widgets

I like shortcodes. And I like Widgets. Getting them to work together however can be a right pain in the bum.

But there is a simple solution. Fire up your dashboard and got to:  Appearance > Editor. In the file list on the right select functions.php.

Scroll down to the bottom and add:

// Enable

European Dates and Strtotime

There is this magic PHP function called strtotime which converts your date to a timestamp measured from 1 Jan 1970.  This makes sorting and manipulating arrays with dates a doddle. But only if you are in America, it’s a pain in the bum for the rest of the world.

And I’ll tell you

Web Statistics