Search Over 30,000 FREE Plugins from the Official WordPress Plugin Directory Repository

Custom Post Type Date Archives

Add date archives to WordPress custom post types

Add Date archives to custom post types right in the dashboard itself. This plugin provides a calendar and archives widget to display your date archives as a super simple events calendar.

Features

  • Adds a date archives submenu for each custom post type
  • Allow scheduled posts with future dates to be published like normal posts
  • Calendar and archive widget.
  • Use theme templates specific for custom post type date archives

Plugin Documentation

Example url for a custom post type events date archive.

https://example.com/events/2015/06/12

WordPress doesn't support pretty permalinks date archives for custom post types. This plugin creates the rewrite rules needed for custom post types to also have pretty permalinks date archives.

The cpt date archives use the same theme template files as normal date archives. Extra template files and template functions are available for use in the custom post type date archives.

For more information visit the Plugin Documentation

Author keesiemijer
Profile
Contributors keesiemeijer
Tags archives, date, post type
  1. custom-post-type-date-archives screenshot 1

    Date archives settings page for the custom post type Products.

  2. custom-post-type-date-archives screenshot 2

    The Calendar widget

  3. custom-post-type-date-archives screenshot 3

    The Archives widget

Follow these instructions to install the plugin.

  1. In your WordPress admin panel, go to Plugins > New Plugin, search for "custom post type date archives" and click "Install now".
  2. Alternatively, download the plugin and upload the contents of custom-post-type-date-archives.zip to your plugins directory, which usually is /wp-content/plugins/.
  3. Activate the plugin
  4. Add date archives in the "Date Archives" sub menu of a custom post type.

2.3.1

  • Enhancement
    • Add selective refresh for widgets in the customizer

2.3.0

  • Enhancement
    • Let WordPress create the rewrite rules for the date archives.
    • Add more control over creating feeds for the date archives (filter)
    • Flush rewrite rules after settings are updated (wp-admin)
    • More PHPUnit tests (github)

2.2.1

  • Enhancement
    • Flush rewrite rules when date archives are removed in admin page
    • Update help section with WordPress repo links
    • Add screenshots

2.2.0

Initial Commit

For more information about this plugin visit the Plugin Documentation

Where do I add the date archives?

You add the date archives in the "Date Archives" sub menu of a custom post type.

I don't see the sub menu to add date archives?

If you don't see the "Date Archives" sub menu in the menu of a custom post type, the post type is probably registered to not be public or not have archives. See Custom Post Types

Share  
Download
Version 2.3.1

Requires WordPress version: 4.0 or higher

Compatible up to: 4.7.2

Last Updated 07 Dec 2016

Date Added: 09 Mar 2016

Evaluation
star1
star2
star3
star4
star5

5 stars
3 ratings
1,030 downloads

Compatibility

Not Enough Data

Reports:
Works: 0
Broken: 0