该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Yearly Archive FacetWP

描述

This is a free add-on for the FacetWP plugin (https://facetwp.com/). It adds a new facet type called “Yearly Archive” which can display a list of years with an associated counter of published posts.

屏幕截图

  • An example of how you can filter your posts by year, having a counter for the relative amount of published posts.

安装

  1. Download and extract the plugin;
  2. Upload the yearly-archive-facetwp folder to the /wp-content/plugins/ directory;
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

Counter is bigger than displayed posts

This is because your FacetWP plugin is indexing both posts, pages or some other Custom Post Type. You should use the “facetwp_query_args” WordPress filter to make it index only the post types you prefer.

评价

2021 年 7 月 17 日
A really great add-on for FacetWP for which I have just the right use case. Thanks Luca! Your WordPress Security Handbook (to be found on GitHub) is also very helpful.
阅读所有1条评价

贡献者及开发者

“Yearly Archive FacetWP” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Yearly Archive FacetWP”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.1.2

  • Added compatibility support for WordPress 5.2

2.1.1

  • Added compatibility support for WordPress 5.1.0

2.1.0

  • Added support for the hooks library on FacetWP versions < 3.2.11

2.0.1

  • Fix notices when trying to access undefined array keys
  • Fix broken facet settings
  • Added default class to allow for custom styling

2.0.0

  • Updated hooks library reference to FWP.hooks as per new changes in WP 5.0 release.
  • Fixed wrong array ‘count’ key reference when debug mode is enabled.
  • Minor fixes.

1.0.2

  • Fixed wrong filter registration.

1.0.0

  • Initial commit