Linux 软件免费装
Banner图

Custom Post Type Date Archives

开发者 keesiemeijer
更新时间 2020年8月13日 22:53
PHP版本: 4.5 及以上
WordPress版本: 5.5
版权: GPLv2 or later
版权网址: 版权信息

标签

calendar date events post type archives

下载

2.2.0 2.2.1 2.3.0 2.3.1 2.4.0 2.5.0 2.5.1 2.6.0 2.6.1 2.7.0 2.7.1

详情介绍:

Add Date archives to custom post types right in the dashboard itself. This plugin also provides widgets and editor blocks to display archives, calendars and recent posts. This allows you to use this plugin as a super simple events calendar. Features: Plugin Documentation WordPress doesn't support date archives for custom post types out of the box. This plugin adds the rewrite rules needed to view the date archives at a pretty permalink. Example permalink (url) for a custom post type events date archive. https://example.com/events/2015/06/12 The calendar, archive and recent posts widget are similar to the existing WordPress widgets, but with extra (custom post type) options added. The cpt date archives use the same theme template files as the normal WordPress 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

安装:

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.

屏幕截图:

  • Date archives settings page for the custom post type Products.
  • The Calendar widget
  • The Archives widget
  • The Recent Posts widget
  • Calendar editor block
  • Archives editor block
  • Recent posts editor block

升级注意事项:

2.7.1 This upgrade will update the calendar HTML to be the same as WordPress 5.4 and higher.

常见问题:

Where do I add the date archives?

For more information about this plugin visit the Plugin Documentation 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

更新日志:

2.7.1 2.7.0 2.6.1 2.6.0 2.5.1 2.5.0 2.4.0 2.3.1 2.3.0 2.2.1 2.2.0 Initial Commit