Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Yearly Archive FacetWP

Beskrivning

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.

Skärmdumpar

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

Installation

  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

Vanliga frågor

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.

Recensioner

17 juli 2021
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.
Läs 1 betyg

Bidragsgivare och utvecklare

”Yearly Archive FacetWP” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Yearly Archive FacetWP” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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