Archive Pro Matic Highlight Class

Introducing a new attribute for Archive-Pro-Matic: highlight
highlight will accepts the following values:

  • current-year
  • active-year


We have added a bit of css to highlight each of the classes:

.current-year {
border-left: 2px solid red;

.active-year {
border-left: 2px solid blue;


Assigning ‘current-year’ as the value of the highlight attribute will add a current-year class to the current year in the list:
[archives type="yearly" cat_id="4" limit="5" highlight="current-year"/]


Assigning ‘active-year’ would only be used on the archive page itself. To see this in action, first visit the an archive page, say 2014 and on that page place an archive list using the sidebar widget or following shortcode.

[archives type="yearly" cat_id="4" limit="5" highlight="active-year"/]

Archive-Pro-Matic Alpha List Subheadings

Archive-Pro-Matic version 1.0.4 introduces two new attributes: alpha_headings and alpha_tag

[archives type="alpha" cat_id="4" limit="10" alpha_headings="true"/]

[archives type="alpha" cat_id="4" limit="10" alpha_headings="true" alpha_tag="strong"/]

Annual Archive / Archive-Pro-Matic Shortcode Test

Here are a few tests of the archive pro matic shortcode:
[archives type="daily" limit="5"]

[archives type="weekly" limit="5"]

[archives type="monthly" limit="5"]

[archives type="yearly" limit="5"]


The post_type and cat_id attributes are available by upgrading to Archive-Pro-Matic.
[archives type="yearly" post_type="monkey" limit="5"]

[archives type="yearly" post_type="donkey" limit="5"]

[archives type="monthly" post_type="donkey" limit="5"]

[archives type="monthly" post_type="monkey" limit="5"]

[archives type="weekly" post_type="monkey" limit="5"]

[archives type="daily" post_type="monkey" limit="5"]

[archives type="yearly" cat_id="4" limit="5"]

[archives type="alpha" cat_id=4 limit="5"]

New as of version 1.0

[arcpromat type="alpha" cat_id="4" limit="5"/]

New as of version 1.0.4

[archives type="alpha" cat_id="4" limit="10" alpha_headings="true"/]

Styling with CSS

To style the css you can wrap the shortcode in a div with a specific class or id like so:

<div class="my_archive">
    [archives type="weekly" post_type="monkey" limit="5"/]

And then define the UL and LI CSS like so:

.my_archive UL {
    list-style-type: circle;

The result:

Here is a post by post:

Here is a CPT (monkey) and Taxonomy (location) and term (Europe):
[archives type="yearly" post_type="monkey" taxonomy="location" term="Europe"/]

Post by post:
[archives type="postbypost" post_type="monkey" taxonomy="location" term="Europe"/]