Skip to content

cherrypj/ri.yearlist.ee_addon.2.0

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

YearList 2.1

The Year Listing plugin is a simple way to get a distinct 4 digit year for your entries. This way you can list out years for archives.

Now, MSM-compatible!

{exp:yearlist channel="yourchannel" category="1" site="1"}

{year}

{/exp:yearlist}

That will return an array of years. Use {year} to print them to the screen and wrap in any markup needed. There are currently no line breaks or HTML associated with this plugin.

The category parameter is optional, and if you leave it out, the plugin will search across all categories. The site parameter is optional, and if you leave it out, the plugin will search the default site.

This plugin requires ExpressionEngine 2.0.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%