這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

List Posts Alphabetically

描述

This plugin simply displays posts in alhpabetical order and inserts a jump-to bar the top of the page. Is it used by inserting the shortcode [a-z category=””].

Compatibility

Tested up to WordPress 4.8.1

螢幕截圖

  • This is what is shown on the front-end
  • Example of the shortcode usage with a custom category used

安裝

  1. Copy the list-posts-alphabetically folder into your wp-content/plugins folder
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the shortcode [list-posts-alphabetically] where you want the posts to appear
  4. Use the shortcode [list-posts-alphabetically category=”YOURCATEGORYHERE”] to only pull posts from a certain category.

常見問題

Installation Instructions
  1. Copy the list-posts-alphabetically folder into your wp-content/plugins folder
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use the shortcode [list-posts-alphabetically] where you want the posts to appear
  4. Use the shortcode [list-posts-alphabetically category=”YOURCATEGORYHERE”] to only pull posts from a certain category.

評價

2022年11月20日
The plugin no longer works. It lists all the posts alphabetically, but every entry is linked to /?post_type=page&p=85
2022年5月9日
These 3 warnings appear as a group each time the plug-in is called. That's a lot of warnings. PHP Warning: Illegal string offset 'category' in /home/<account>/wp-content/plugins/list-posts-alphabetically/list-posts-alphabetically.php on line 21 PHP Warning: Cannot assign an empty string to a string offset in /home/<account>/wp-content/plugins/list-posts-alphabetically/list-posts-alphabetically.php on line 21 PHP Warning: Illegal string offset 'category' in /home/<account>/wp-content/plugins/list-posts-alphabetically/list-posts-alphabetically.php on line 26 The plug-in works, but this is a problem.
2021年11月23日
Plugin is unfinished. Posts are not linked, neither letter on top of it.
2018年10月20日 1 reply
Writing this to let you know, how to fix that linking issue. To link to the post listed, in line 40 of the list-posts-alphabetically.php use $lpa_az_post instead of $post inside the get_post_permalink()-function. Besides this, its a nice plugin, thanks for sharing.
2018年8月11日
Works perfectly. Excellent code logic. Thank you! However, it would be very helpful to have the A-Z entries link to their pages in the next update.
閱讀全部6個評價

貢獻者及開發者

“List Posts Alphabetically” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 List Posts Alphabetically 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

  • Initial Release.