A-2-Z Alphabetical Archive Links

外掛說明

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)

螢幕擷圖

  • 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

適用於區塊編輯器

這個外掛提供 1 個可供 Gutenberg/區塊編輯器使用的區塊。

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

安裝方式

  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

常見問題集

None at this time

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈A-2-Z Alphabetical Archive Links〉的開發相關工作。

參與者

變更記錄

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