• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Part: V Appendixes > Archive Tags

Archive Tags

Table B.3 contains the tags that are used to present information about the various archive formats you choose to publish.

Table B.3. Archive Tags
Tag NameTag TypeDescription
MTArchiveCategoryVInserts the name of the current archive's category. Only makes sense when the current archive is of type Category.
MTArchiveCountVInserts the number of entries on the current archive page.
MTArchiveDateVInserts the start date for the current archive page. This only makes sense inthe context of date-based archives. Attributes:

format: Controls how the date is written. (See “Formatting Dates” later in this appendix.)

language: Specifies in what language the date is to be written.

MTArchiveDateEndVInserts the end date for the current archive page. This only makes sense in the context of date-based archives. Attributes:

format: Controls how the date is written. (See “Formatting Dates” later in this appendix.)

language: Specifies in what language the date is to be written.

MTArchiveLinkVInserts the absolute URL to the current archive page. Attributes:

archive_type: Overrides the current archive type. Acceptable values are

Individual
Category
Daily
Weekly
Monthly

MTArchiveListLCIterates over the archive pages of the type specified as the Preferred Archive Type in the Weblog Config > Preferences screen. Attributes:

archive_type: Overrides the current archive type. Acceptable values are

Individual
Category
Daily
Weekly
Monthly

lastn: Includes only the specified number of most recent archive pages in the current archive type.

MTArchiveNextXCThe contents of this tag are evaluated in the context of the archive page after the current one. Attributes:

archive_type: Overrides the current archive type. Acceptable values are

Individual
Category
Daily
Weekly
Monthly

MTArchivePreviousXCThe contents of this tag are evaluated in the context of the archive page before the current one. Attributes:

archive_type: Overrides the current archive type. Acceptable values are

Individual
Category
Daily
Weekly
Monthly

MTArchiveTitleVInserts the title of the current archive page, which varies for each archive type as follows:

Individual: The title of the entry

Category: The category's name

Daily: The day's date (for example, January 1, 2010)

Weekly: The start and end dates of the week (for example January 3, 2010—January 9, 2010)

Monthly: The month and year (for example, January 2010)



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint