這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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