Title: List Posts Alphabetically
Author: AltPress
Published: <strong>2017 年 9 月 6 日</strong>
Last modified: 2017 年 9 月 6 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/list-posts-alphabetically/assets/icon-256x256.png?rev=1725859)

# List Posts Alphabetically

 作者：[AltPress](https://profiles.wordpress.org/altpress/)

[下载](https://downloads.wordpress.org/plugin/list-posts-alphabetically.1.0.zip)

 * [详情](https://cn.wordpress.org/plugins/list-posts-alphabetically/#description)
 * [评价](https://cn.wordpress.org/plugins/list-posts-alphabetically/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/list-posts-alphabetically/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/list-posts-alphabetically/#developers)

 [支持](https://wordpress.org/support/plugin/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.

## 评价

![](https://secure.gravatar.com/avatar/6adcefe10a0dcff9f44c32c4f7e5e7ecf1bb742138f53df821229d7efabc7001?
s=60&d=retro&r=g)

### 󠀁[Doesn’t work anymore](https://wordpress.org/support/topic/doesnt-work-anymore-147/)󠁿

 [cherrydrop](https://profiles.wordpress.org/cherrydrop/) 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

![](https://secure.gravatar.com/avatar/42efcb846cbf00ec003b4d3df37dbf88b2414727fbef056820b9aad81f5babac?
s=60&d=retro&r=g)

### 󠀁[Fills log file with PHP warnings](https://wordpress.org/support/topic/fills-log-file-with-php-warnings/)󠁿

 [eliant](https://profiles.wordpress.org/eliant/) 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.

![](https://secure.gravatar.com/avatar/cb1e6f928f27e8a80c5a6743db75d27d3d5ec884bce21c16a9e4f7e374fd27b3?
s=60&d=retro&r=g)

### 󠀁[Not working](https://wordpress.org/support/topic/not-working-3778/)󠁿

 [Dugonja](https://profiles.wordpress.org/h3llas/) 2021 年 11 月 23 日

Plugin is unfinished. Posts are not linked, neither letter on top of it.

![](https://secure.gravatar.com/avatar/768e7ef7592cd4472aca1e71e67bc1719318d475a71f73f65e50f24fb05c664d?
s=60&d=retro&r=g)

### 󠀁[Link fix](https://wordpress.org/support/topic/link-fix/)󠁿

 [slco](https://profiles.wordpress.org/slco/) 2018 年 10 月 20 日 1 回复

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.

![](https://secure.gravatar.com/avatar/865d224a050b68f514c6b4bbf715768f96fd1414f3964a338ef12b06400765a8?
s=60&d=retro&r=g)

### 󠀁[elegant solution](https://wordpress.org/support/topic/elegant-solution-12/)󠁿

 [Tekhne](https://profiles.wordpress.org/tekhne/) 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.

![](https://secure.gravatar.com/avatar/158918bd3c50073c6f4eb6b40469e8a7061e1a5ac421cdc50e46c8bba1cc9ac3?
s=60&d=retro&r=g)

### 󠀁[Not linked](https://wordpress.org/support/topic/not-linked/)󠁿

 [dafonk](https://profiles.wordpress.org/dafonk/) 2018 年 8 月 7 日

The links ABC ar not linked to the entries

 [ 阅读所有6条评价 ](https://wordpress.org/support/plugin/list-posts-alphabetically/reviews/)

## 贡献者及开发者

「List Posts Alphabetically」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ AltPress ](https://profiles.wordpress.org/altpress/)

[帮助将「List Posts Alphabetically」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/list-posts-alphabetically)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/list-posts-alphabetically/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/list-posts-alphabetically/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/list-posts-alphabetically/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/list-posts-alphabetically/)。

## 更新日志

#### 1.0

 * Initial Release.

## 额外信息

 *  版本 **1.0**
 *  最后更新：**9 年前**
 *  活跃安装数量 **30+**
 *  WordPress 版本 ** 3.5 或更高版本 **
 *  已测试的最高版本为 **4.8.28**
 *  语言
 * [English (US)](https://wordpress.org/plugins/list-posts-alphabetically/)
 * 标签
 * [a-z](https://cn.wordpress.org/plugins/tags/a-z/)[list posts alphabetically](https://cn.wordpress.org/plugins/tags/list-posts-alphabetically/)
 *  [高级视图](https://cn.wordpress.org/plugins/list-posts-alphabetically/advanced/)

## 评级

 3 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/list-posts-alphabetically/reviews/?filter=5)
 *  [  2 条 4 星评价     ](https://wordpress.org/support/plugin/list-posts-alphabetically/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/list-posts-alphabetically/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/list-posts-alphabetically/reviews/?filter=2)
 *  [  2 条 1 星评价     ](https://wordpress.org/support/plugin/list-posts-alphabetically/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/list-posts-alphabetically/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/list-posts-alphabetically/reviews/)

## 贡献者

 *   [ AltPress ](https://profiles.wordpress.org/altpress/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/list-posts-alphabetically/)