A-2-Z Alphabetical Archive Links

Beskrivning

This widget will get a list of post/cpt title first character. The list is then displayed as an unordered list of links. The links take the user to an archive page for the specific post type and display the posts where its title begins with the character.

If the title begins with the following words, the first character of the second word will be used:

  • A
  • An
  • And
  • The

Examples

  • ’A Cup of Joe’ will be listed under ’C’
  • ’The Pony’ will be listed under ’P’
  • ’Android Green is Nice’ will be listed under ’A’
  • ’The 10 Strangest Foods’ will be places under ’#’ (number sign)

Skärmdumpar

  • Legacy widget config
  • A2Z Links block editor with counts disabled
  • A2Z Links block editor with counts enabled
  • A2Z Links block output with counts disabled
  • A2Z Links block output with counts enabled

Block

Detta tillägg tillhandahåller 1 block.

  • A2z Links Display a list of post/cpt title initials that link to a list of posts beginning with that initial.

Installation

  1. Upload the entire ’a2z-alphabetical-archive-links’ folder to the ’/wp-content/plugins/’ directory
  2. Activate the plugin through the ’Plugins’ menu in WordPress
  3. Go to the settings page to activate which post type(s) to have
  4. Add the ’A2Z Alphabetical Archive Links’ widget to a widget area or add the A2Z Links block to a block area

Vanliga frågor

None at this time

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”A-2-Z Alphabetical Archive Links” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Ändringslogg

2.1.1

Added default values for block attributes and added checks to ensure they have values before render

2.1.0

  • Added links block to replace legacy widget
  • Updated minimum php version to 7.4
  • Updated minimum WordPress version to 5.8
  • Resolved RegEx issue that incorrectly grouped some titles in the group that begin with numbers.

2.0.2

cleaning up version numbers

2.0.1

fixed bug with earlier versions of php and version checking

2.0.0

  • Complete rewrite. In an effort to make the code scale better.
  • Removed slow query
  • Added minimum WordPress version check
  • Added minimum php version check
  • Added grouping for titles that have a number as their first character
  • Added custom rewrites the handle better archive links

1.0.2

Changed link builder again to account for modified front page settings

1.0.1

  • Changed widget option for post type to include only publicly queryable post types ( Pages not an option anymore )
  • Fixed links generated when using the post type of Post

1.0

Initial release