Select Page
How to use action and filter hooks in WordPress

How to use action and filter hooks in WordPress

One of the most powerful features in WordPress is also one of the most feared – hooks. This article explains what they are and gives you two examples of how you might use them to customise your WordPress-based website. When you redecorate a room you might go...
Create your own shortcodes in WordPress

Create your own shortcodes in WordPress

In WordPress, shortcodes are special codes in square braces that are auto-magically replaced with pre-defined content. For example, I could place [kitten] in my post content and it could be replaced with a picture of a kitten. This short article explains how you...
Formatting a date using PHP

Formatting a date using PHP

[toc]In my last article I explained how to format a date in MySQL using a built-in function that can be used during a database query. In this article I’m going to leave databases and talk about how to do the same thing in PHP. The timestamp Before you can format...