Skip to content

Provides a few shortcodes for listing post archives grouped by categories or taxonomies

Notifications You must be signed in to change notification settings

kasparsd/Simple-WordPress-Archives

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

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>'

About

Provides a few shortcodes for listing post archives grouped by categories or taxonomies

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages