Shortcode is a plugin that adds several useful shortcodes that you can use in your blog posts and pages. Updated frequently with more shortcodes.


Like the plugin? Hate it? Want a new feature? Send me some feedback — no email address or registration needed.


  • 0.8.1: Fixes a bug where the [ageindays], [ageinmonths] and [ageindays] shortcodes may have incorrectly returned zero
  • 0.8.0: Added [wpcategories], for displaying lists of categories. See for more information
  • 0.7.5: Added [ageinmonths] shortcode
  • 0.7.4: No new shortcodes this time, just some code cleanup
  • 0.7.3: Added [ageinyears] shortcode
  • 0.7.2: Bugfix: the [wparchive] shortcode will not display incorrectly before all other post content
  • 0.7.1: Added a shortcode for displaying date-based archives. See for more information
  • 0.7: Added shortcodes for image count, gallery count, album count (for the NextGEN Gallery plugin). Special thanks to for providing the code and the suggestion
  • 0.6: Added British style total word count (thousands grouped with commas)
  • 0.5.9: Added British style post, category, page and tag counts (thousands grouped with commas)
  • 0.5.8: Added three new shortcodes for the length of the shortest post, name (title) of shortest post, and the number of days since the first post (grouped by thousands and separated with a comma sign)
  • 0.5.7: Added new shortcode: totalwords counts the total number of words in published posts
  • 0.5.6: Removed unnecessary code and added new shortcode: photosingallery
  • 0.5.5: Added two new shortcodes: future posts & draft posts
  • 0.5: Added two new shortcodes: characters per post & posts per day
  • 0.4: Added shortcodes for printing the name of the longest published post and printing the length of the longest published post
  • 0.3.5: Added shortcodes for average number of tags/categories per published post
  • 0.3: Added comment count shortcode
  • 0.2: Bugfix & added page count shortcode
  • 0.1: Initial release, with shortcodes for post count, category count, tag count and blog age.

Contributors & Developers

This is open source software. The following people have contributed to this plugin.


Browse the code