Provides a few shortcodes for listing post archives grouped by categories or taxonomies
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
readme.md
screenshot.png
simple-archives.php

readme.md

Post Archives by Taxonomy Terms

Create an archive page of all your posts organized and grouped by a term they are in.

Screenshot

Screenshot of Taxonomy Archives plugin for WordPress

Usage

Use this shortcode where you wish to render the archive:

[taxonomy_archive]

It accepts the following arguments:

'post_type' = 'post'
'taxonomy' = 'category'
'template_items' = '<div class="term-posts term-%term_id%"><h2>%term_name%</h2> <ul class="posts-in-term">%items%</ul></div>',
'template_item' = '<li><a href="%the_permalink%" title="%the_title_attribute%">%the_title%</a></li>',
'template_terms' = '<div class="taxonomy-archive">%terms%</div>'