Title: Extra Shortcodes
Author: webvitaly
Published: <strong>January 8, 2012</strong>
Last modified: April 13, 2023

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/extra-shortcodes.svg)

# Extra Shortcodes

 By [webvitaly](https://profiles.wordpress.org/webvitaly/)

[Download](https://downloads.wordpress.org/plugin/extra-shortcodes.2.2.zip)

 * [Details](https://wordpress.org/plugins/extra-shortcodes/#description)
 * [Reviews](https://wordpress.org/plugins/extra-shortcodes/#reviews)
 *  [Installation](https://wordpress.org/plugins/extra-shortcodes/#installation)
 * [Development](https://wordpress.org/plugins/extra-shortcodes/#developers)

 [Support](https://wordpress.org/support/plugin/extra-shortcodes/)

## Description

 * **[WordPress Pro plugins](http://web-profile.net/wordpress/plugins/)**
 * **[Extra Shortcodes](http://web-profile.net/wordpress/plugins/extra-shortcodes/)**
 * **[Donate](http://web-profile.net/donate/)**
 * **[GitHub](https://github.com/webvitalii/extra-shortcodes)**

#### Shortcodes:

 * `[extra_archives]` – list of monthly archives links sorted by date;
 * `[extra_archives type="yearly"]` – list of yearly archives links;
 * `[extra_archives type="monthly"]` – list of monthly archives links;
 * `[extra_archives type="weekly"]` – list of weekly archives links;
 * `[extra_archives type="daily"]` – list of daily archives links;
 * `[extra_archives type="postbypost"]` – list of all posts links sorted by date;
 * `[extra_archives type="alpha"]` – list of all posts links sorted by title;
 * `[extra_taxonomies]` – list of categories, tags or any other taxonomies;
 * `[bloginfo show="name"]` – [bloginfo params](https://codex.wordpress.org/Function_Reference/get_bloginfo);
 * `[date format="l jS \\of F Y h:i:s A"]` – Monday 23rd April 2012 09:37:57 AM;
   [php date format params](http://php.net/manual/en/function.date.php);
 * `[date format="l jS \\of F Y h:i:s A" timestamp="+2 years +3 months -20 days -
   10 hours +30 minutes"]` – Thursday 3rd July 2014 06:52:57 AM; [relative datetime formats](http://www.php.net/manual/en/datetime.formats.relative.php);
 * `[date format="h:i:s A" use_wordpress_timezone="1"]` – use WordPress timezone
   from Settings section;
 * `[date_i18n format="l jS \\of F Y h:i:s A" timestamp="+2 years +3 months -20 
   days -10 hours +30 minutes"]` – Четвер, 3 Липня 2014 06:52:57; shortcode based
   on [date_i18n](https://codex.wordpress.org/Function_Reference/date_i18n);
 * `[time format="h:i:s A"]` – 01:35:08 PM; [php time format params](http://php.net/manual/en/function.date.php);
 * `[year]` – 2012, `[year plus="3"]` – 2015, `[year minus="2"]` – 2010;
 * `[month]` – 4 (in April), `[month plus="10"]` – 2, `[month minus="8"]` – 8;
 * `[month_name]` – April, `[month_name plus="10"]` – February, `[month_name minus
   ="8"]` – August;
 * `[day]` – 8, `[day plus="3"]` – 11, `[day minus="2"]` – 6;
 * `[weekday]` – Monday, `[weekday plus="5"]` – Saturday, `[weekday minus="5"]` –
   Wednesday;
 * `[hours]`, `[minutes]`, `[seconds]`;

**[more info about shortcodes](https://wordpress.org/plugins/extra-shortcodes/other_notes/)**

#### Useful:

 * [“Page-list” – show list of pages with shortcodes](https://wordpress.org/plugins/page-list/)
 * [“Iframe” – embed content](https://wordpress.org/plugins/iframe/)
 * [WordPress Pro plugins](http://web-profile.net/wordpress/plugins/)

#### Parameters for [extra_archives]:

 * `[extra_archives]` – list of monthly archives links sorted by date;
 * `[extra_archives type="yearly"]` – list of yearly archives links;
 * `[extra_archives type="monthly"]` – list of monthly archives links;
 * `[extra_archives type="weekly"]` – list of weekly archives links;
 * `[extra_archives type="daily"]` – list of daily archives links;
 * `[extra_archives type="postbypost"]` – list of all posts links sorted by date;
 * `[extra_archives type="alpha"]` – list of all posts links sorted by title;
 * **limit** – how many links to be included in the list: `[extra_archives limit
   ="10"]`; by default all links are shown: `[extra_archives limit=""]`;
 * **show_post_count** – display counter of posts in the archive: `[extra_archives
   show_post_count="1"]`; by default counter is not shown: `[extra_archives show_post_count
   ="0"]`;
 * **order** – how to sort archives links: `[extra_archives order="ASC"]`; by default
   links are sorted by descending order (Z-A): `[extra_archives order="DESC"]`;

[extra_archives] is based on [wp_get_archives function](https://codex.wordpress.org/Function_Reference/wp_get_archives).

#### Parameters for [extra_taxonomies]:

 * **orderby** – sort list by specific field: `[extra_taxonomies order="count"]`;
   by default list is sorted by name: `[extra_taxonomies order="name"]`; possible
   values: ID, name, slug, count, term_group;
 * **order** – the sort order of the list of pages (either ascending or descending):`[
   extra_taxonomies order="DESC"]`; by default: `[extra_taxonomies order="ASC"]`;
   possible values: ASC, DESC;
 * **show_count** – display counter of posts in the list: `[extra_taxonomies show_count
   ="1"]`; by default counter is not shown: `[extra_taxonomies show_count="0"]`;***
   limit** – how many links to be included in the list: `[extra_archives limit="
   10"]`; by default all links are shown: `[extra_archives limit=""]`;
 * **hide_empty** – show or hide empty categories or taxonomies: `[extra_taxonomies
   hide_empty="0"]`; by default empty categories are hidden: `[extra_taxonomies 
   hide_empty="1"]`;
 * **use_desc_for_title** – use description for title: `[extra_taxonomies use_desc_for_title
   ="0"]`; by default the description is used as link title: `[extra_taxonomies 
   use_desc_for_title="1"]`;
 * **child_of** – only display categories that are children of the category identified
   by this parameter: `[extra_taxonomies child_of="77"]`;
 * **exclude** – exclude one or more categories (comma-separated list of category
   ids) from the results: `[extra_taxonomies exclude="5,7,9"]`;
 * **exclude_tree** – exclude category-tree (comma-separated list of category ids)
   from the results: `[extra_taxonomies exclude_tree="5,7,9"]`; The parameter include
   must be empty. If the hierarchical parameter is true, then use exclude instead
   of exclude_tree.
 * **include** – only include the categories detailed in a comma-separated list 
   by category id: `[extra_taxonomies include="5,7,9"]`;
 * **hierarchical** – list is hierarchical (tree-like) or flat: `[extra_taxonomies
   hierarchical="0"]`; by default the list is hierarchical: `[extra_taxonomies hierarchical
   ="1"]`;
 * **number** – sets the number of categories to display: `[extra_taxonomies number
   ="10"]`; by default the number is unlimited: `[extra_taxonomies number=""]`;
 * **depth** – how many levels in the hierarchy of pages are to be included in the
   list: `[extra_taxonomies depth="3"]`; by default the depth is unlimited: `[extra_taxonomies
   depth="0"]`;
 * **taxonomy** – show list of registered taxonomy: `[extra_taxonomies taxonomy="
   post_tag"]`; by default shows the list of categories: `[extra_taxonomies taxonomy
   ="category"]`;

[extra_taxonomies] is based on [wp_list_categories function](https://codex.wordpress.org/Template_Tags/wp_list_categories).

#### Parameters for [bloginfo]:

 * `[bloginfo show="name"]` – [bloginfo params](https://codex.wordpress.org/Function_Reference/get_bloginfo);
 * `[site_name]` – Name of the site;
 * `[site_desc]` – Description of the site;
 * `[site_url]` – http://site.url;
 * `[wp_version]` – 4.5 (WordPress version);
 * [bloginfo] is based on [bloginfo function](https://codex.wordpress.org/Function_Reference/bloginfo).

#### Parameters for [date]:

 * `[date format="l jS \\of F Y h:i:s A"]` – Monday 23rd April 2012 09:37:57 AM;
   [php date format params](http://php.net/manual/en/function.date.php);
 * `[date format="l jS \\of F Y h:i:s A" timestamp="+2 years +3 months -20 days -
   10 hours +30 minutes"]` – Thursday 3rd July 2014 06:52:57 AM; [relative datetime formats](http://www.php.net/manual/en/datetime.formats.relative.php);
 * `[date format="h:i:s A" use_wordpress_timezone="1"]` – use WordPress timezone
   from Settings section;
 * `[date_i18n format="l jS \\of F Y h:i:s A" timestamp="+2 years +3 months -20 
   days -10 hours +30 minutes"]` – Четвер, 3 Липня 2014 06:52:57; shortcode based
   on [date_i18n](https://codex.wordpress.org/Function_Reference/date_i18n);
 * `[time format="h:i:s A"]` – 01:35:08 PM; [php time format params](http://php.net/manual/en/function.date.php);
 * `[year]` – 2012, `[year plus="3"]` – 2015, `[year minus="2"]` – 2010;
 * `[month]` – 4 (in April), `[month plus="10"]` – 2, `[month minus="8"]` – 8;
 * `[month_name]` – April, `[month_name plus="10"]` – February, `[month_name minus
   ="8"]` – August;
 * `[day]` – 8, `[day plus="3"]` – 11, `[day minus="2"]` – 6;
 * `[weekday]` – Monday, `[weekday plus="5"]` – Saturday, `[weekday minus="5"]` –
   Wednesday;
 * `[hours]`, `[minutes]`, `[seconds]`;

## Installation

 1. install and activate the plugin on the Plugins page
 2. add shortcodes to pages or posts: `[bloginfo show="name"]`, `[site_name]`, `[site_desc]`,`[
    date format="Y-m-d"]`, `[time]`, `[year plus="3"]`, `[month minus="2"]`, `[month_name]`

## Reviews

![](https://secure.gravatar.com/avatar/beebc33406a28273aecd63cb985de4e53619336f9c6fd1229c60d4b9653f1e2c?
s=60&d=retro&r=g)

### 󠀁[Super handy!](https://wordpress.org/support/topic/super-handy-45/)󠁿

 [electricbricks](https://profiles.wordpress.org/electricbricks/) April 13, 2023

Very useful. Never had an issue on dozens of sites. Works as expected.

![](https://secure.gravatar.com/avatar/c23925dec9af40bdf6da90d01f92c320796ab056cadbb50e9deadf67a4fd6718?
s=60&d=retro&r=g)

### 󠀁[Awesome! Works like a charme!](https://wordpress.org/support/topic/awesome-works-like-a-charme-2/)󠁿

 [storeofideas](https://profiles.wordpress.org/storeofideas/) November 6, 2016

Thanks for this Plugin. Great work!

![](https://secure.gravatar.com/avatar/b2630584424366202a0b0dc74d6decb1a1b000ad0b13bd77a8400549ca6be5b5?
s=60&d=retro&r=g)

### 󠀁[Works perfectly – Better alternative for today's date plugins](https://wordpress.org/support/topic/works-perfectly-better-alternative-for-todays-date-plugins/)󠁿

 [juniorbra](https://profiles.wordpress.org/juniorbra/) September 3, 2016

Works as expected

![](https://secure.gravatar.com/avatar/5a40f30cf603ebbf36a90a037c8337606232f9d998bf419ef64b8abdc988d572?
s=60&d=retro&r=g)

### 󠀁[Very helpful!](https://wordpress.org/support/topic/very-helpful-233/)󠁿

 [Ma Manann](https://profiles.wordpress.org/mamb2bceo/) September 3, 2016

Very helpful! 5 Star. It’s smartly working on my site http://nehans.net Thnaks

![](https://secure.gravatar.com/avatar/49e5015969a2944ca0390d2755f4a54a0c18ff08db70287a1d7b241cf58e0679?
s=60&d=retro&r=g)

### 󠀁[On Activation, immediately broke my site](https://wordpress.org/support/topic/on-activation-immediately-broke-my-site/)󠁿

 [isaac.austinwebanddesign](https://profiles.wordpress.org/isaacaustinwebanddesigncom/)
February 7, 2017

All I get on any page now, including the admin area, is “server error.”

 [ Read all 10 reviews ](https://wordpress.org/support/plugin/extra-shortcodes/reviews/)

## Contributors & Developers

“Extra Shortcodes” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ webvitaly ](https://profiles.wordpress.org/webvitaly/)

[Translate “Extra Shortcodes” into your language.](https://translate.wordpress.org/projects/wp-plugins/extra-shortcodes)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/extra-shortcodes/),
check out the [SVN repository](https://plugins.svn.wordpress.org/extra-shortcodes/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/extra-shortcodes/)
by [RSS](https://plugins.trac.wordpress.org/log/extra-shortcodes/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.2

 * added [extra_taxonomies] shortcode
 * updated readme.txt

#### 2.1

 * added [extra_archives] shortcode
 * updated readme.txt

#### 2.0

 * code refactoring
 * shortcodes cleanup

#### 1.6

 * added ‘use_wordpress_timezone’ param to [date] shortcode;

#### 1.5

 * added [date_i18n] (thanks to HeldZ)

#### 1.4

 * minor changes

#### 1.3

 * refactor code (all based on [relative datetime formats](http://www.php.net/manual/en/datetime.formats.relative.php))
 * reorganized docs
 * removed “loop” param

#### 1.2

 * added “timestamp” param to [date] shortcode

#### 1.1

 * added [bloginfo]

#### 1.0

 * initial release

## Meta

 *  Version **2.2**
 *  Last updated **3 years ago**
 *  Active installations **1,000+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **6.2.9**
 * Tags
 * [archive](https://wordpress.org/plugins/tags/archive/)[archives](https://wordpress.org/plugins/tags/archives/)
   [category](https://wordpress.org/plugins/tags/category/)[shortcode](https://wordpress.org/plugins/tags/shortcode/)
   [shortcodes](https://wordpress.org/plugins/tags/shortcodes/)
 *  [Advanced View](https://wordpress.org/plugins/extra-shortcodes/advanced/)

## Ratings

 4.1 out of 5 stars.

 *  [  7 5-star reviews     ](https://wordpress.org/support/plugin/extra-shortcodes/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/extra-shortcodes/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/extra-shortcodes/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/extra-shortcodes/reviews/?filter=2)
 *  [  2 1-star reviews     ](https://wordpress.org/support/plugin/extra-shortcodes/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/extra-shortcodes/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/extra-shortcodes/reviews/)

## Contributors

 *   [ webvitaly ](https://profiles.wordpress.org/webvitaly/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/extra-shortcodes/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://web-profile.net/donate/)