
內容簡介
總結:使用AlphaListing外掛,您可以以字母順序展示您的文章、頁面和術語,在Rolodex、目錄或目錄式列表中。此外,該外掛還支持在任何地方連結到列表的短代碼和小工具。您可以按照指定方式顯示不同類型的文章、頁面或術語,並通過設置選項來自定義列表的外觀和行為。
1. 如何使用AlphaListing外掛展示文章或術語?
- 使用短代碼[alphalisting]來創建列表。
- 若要指定文章型態顯示而非頁面,可以使用例如:[alphalisting display="posts" post-type="post"]。
- 透過[alphalisting display="posts" post-type="post" taxonomy="category" terms="my-term-slug"]來使用分類法篩選文章。
2. 怎樣展示別的術語或分類而不是文章或頁面?
- 使用[alphalisting display="terms" taxonomy="category"]以顯示來自分類的術語。
- 透過[alphalisting display="terms" taxonomy="category" parent-term="42" get-all-children="yes"]顯示特定樹下的所有深度內的術語。
3. 怎樣顯示數字?
- 透過[alphalisting display="posts" numbers="after"]添加數字到列表後面。
- 可以選擇在字母前或後顯示數字,例如:[alphalisting display="posts" numbers="before"]。
4. 其他常見選項是哪些?
- display: 指定展示文章或術語。
- numbers: 在字母前或後附加或預置數字。
- grouping: 指定如何將字母分組。
- group-numbers: 指定如何分組數字。
外掛標籤
開發者團隊
原文外掛簡介
Display posts, pages, and terms alphabetically in a Rolodex-, catalog-, or directory-style list with the AlphaListing plugin!
This plugin includes a block and shortcode for the list, along with a widget for linking to the list from any location on a site. If a letter has no associated pages, the widget will display the letter unlinked, while the list page will omit the letter entirely.
Show posts from any single or multiple post types, including built-in posts and pages. Post types from plugins like WooCommerce products are also supported. Alternatively, display terms such as categories or tags.
This plugin is based on the original A-Z Listing by Lucy (formerly Dani) Llewellyn, which is no longer maintained. Custom templates built for the original plugin may not work reliably with this version. For the most up-to-date example template, see the example template.
Documentation
Comprehensive documentation is now available:
Overview
Installation
Gutenberg block usage
Shortcode reference
PHP usage
Templates and theming
Frequently asked questions
