Select Page

Archive Shortcodes



Type Attribute

Limit Attribute

The limit attribute controls the number of results displayed.

Order Attribute

The order attribute controls the sort order. The only valid values is DESC and ASC. Descending (DESC) is the default.

Format Attribute

Select Month February 2019  October 2018  February 2018  November 2017  March 2015  January 2015  November 2014 

Supported format value options are:

  • html – In HTML list (<li>) tags and before and after strings. This is the default.
  • option – In select (<select>) or dropdown option (<option>) tags.
  • link – Within link (<link>) tags.
  • custom – Custom list using the before and after strings.

Before Attribute

Text to place before the link when using ‘html’ or ‘custom’ format options. There is no default.

After Attribute

Text to place after the link when using ‘html’ or ‘custom’ format options. There is no default.

Select Text Attribute

Choose Wisely February 2019  October 2018  February 2018  November 2017  March 2015  January 2015  November 2014 

The select_text attribute is used to change the default text that shows up as the default selected value when using the option format.

Showcount Attribute

Display number of posts in an archive (true) or do not (default). For use with all type values except ‘postbypost’

Tag Attribute

  1. September 2026
  2. August 2026
  3. July 2026
  4. June 2026
  5. May 2026
  6. April 2026
  7. March 2026
  1. February 2019
  2. October 2018
  3. February 2018
  4. November 2017
  5. March 2015
  6. January 2015
  7. November 2014

Defines the list type to use. Options are UL (default) and OL.

Post_Type Attribute

Post Types are supported as of Annual Archive version 1.4.8. To list an archive of a specific custom post type, using the post_type attribute like so: