描述
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.
屏幕截图
安装
- Download and extract the plugin;
- Upload the
yearly-archive-facetwp
folder to the/wp-content/plugins/
directory; - 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.
贡献者及开发者
更新日志
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