Post Last Modified Date Shortcode
Updated 30/12/2011 The following function creates a shortcode (usage: [last_modified] ) that displays the date that the post or page was last modified. This is useful for pages that are occasionally updated with new information, such as resource lists pages. function display_last_modified_date() { global $wpdb, $id; $o = ‘<p>Last modified: ‘.get_the_modified_time(‘d F Y’).’</p>’; return $o; [...]

WordPress List Child Pages Shortcode
It has been several months since my original article on the WordPress List Child Pages Shortcode, and since then I have done a lot more digging through the WordPress API, functions, filters, and related things. I started wondering why it was necessary to directly query the WordPress database, to get a list of pages, when [...]