描述
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
螢幕截圖
安裝
- Copy the
list-posts-alphabetically
folder into yourwp-content/plugins
folder - Activate the plugin through the ‘Plugins’ menu in WordPress
- Use the shortcode [list-posts-alphabetically] where you want the posts to appear
- Use the shortcode [list-posts-alphabetically category=”YOURCATEGORYHERE”] to only pull posts from a certain category.
常見問題
- Installation Instructions
-
- Copy the
list-posts-alphabetically
folder into yourwp-content/plugins
folder - Activate the plugin through the ‘Plugins’ menu in WordPress
- Use the shortcode [list-posts-alphabetically] where you want the posts to appear
- Use the shortcode [list-posts-alphabetically category=”YOURCATEGORYHERE”] to only pull posts from a certain category.
- Copy the
評價
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.
2018年8月7日
The links ABC ar not linked to the entries
貢獻者及開發者
修改日誌
1.0
- Initial Release.