<tpl:ArchiveNext>

In an archive context (i.e. archive/2008/10), this loop returns the next potential day, month or year.

Attributes

type

Defines the precision level of returned dates. The possible values are:

  • day : blog days
  • month : blog months
  • year : blog years

Default value is month.

post_type

Indicates the type of post that has to be used to return archives. By default, the value is post.

post_lang

This attribute only returns archives including posts in a given language.

Examples

<tpl:ArchiveNext>
  <a href="{{tpl:ArchiveURL}}">Next month</a>
</tpl:ArchiveNext>

Wiki powered by Dokuwiki.