Documentation

Brand: Twinpictures Plugin Oven | Category: WordPress Plugin | Author: Baden Coleman
Updated: 21 November, 2014
Limited Offer: Upgrade to Archive-Pro-Matic before January 1, 2015 and receive a lifetime unlimited licence. Beginning in 2015 all Plugin Oven pro plugins will offer new pricing and licensing tiers.

Shortcode

Annual Archive can also be used in posts and pages simply by including the [archives] shortcode. The following attributes can be defined to customize the way the archive is rendered:

Type Attribute

[archives type="daily"]

[archives type="weekly"]

[archives type="monthly"]

[archives type="yearly"]

[archives type="postbypost"]

[archives type="alpha"]

Limit Attribute

The limit attribute controls the number of results displayed.
[archives type="monthly" limit="3"]

Order Attribute

The order attribute controls the sort order. The only valid values is DESC and ASC. Descending (DESC) is the default.
[archives type="yearly" order="ASC"]

Format Attribute

[archives type="monthly" limit="7" format="option"]

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 the html or custom for format option. There is no default.

After Attribute

Text to place after the link when using the html or custom for format option. There is no default.

Select Text Attribute

[archives type="monthly" limit="7" format="option" select_text="Choose Wisely"]

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

[archives type="monthly" limit="7" showcount="true"]

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

Tag Attribute

[archives type="monthly" limit="7" tag="OL"]

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