Select Page
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...