[wordpress插件] A-Z ListingA-Z清单

wordpress 插件 文章 2020-01-23 07:00 873 0 全屏看文

AI助手支持GPT4.0

评分

98

98

描述



Show your posts, pages, and terms alphabetically in a Rolodex-, catalogue-, or directory-style list with the A-Z Listing plugin!

使用A-Z列表插件,在Rolodex,目录或目录样式列表中按字母顺序显示您的帖子,页面和术语!

The plugin has a short-code for the list, and a widget so you can link to the list from anywhere on your site.

该插件具有用于该列表的短代码和一个小部件,因此您可以从网站上的任何位置链接到该列表。

If a letter doesn’t have any pages then the widget will display the letter unlinked.

如果字母没有任何页面,则小部件将显示未链接的字母。

The list page will omit the display for that letter entirely.

列表页面将完全省略该字母的显示。

Show posts from any or multiple post types including the in-built posts and pages.

显示任何或多种帖子类型的帖子,包括内置帖子和页面。

Also supported are post-types from plugins like WooCommerce products.

WooCommerce产品等插件的帖子类型也受支持。

Alternatively, show terms like categories or tags.

或者,显示诸如类别或标签之类的术语。

short-code

短代码

The plugin supplies a short-code for the full A-Z listing allowing use without modifying your theme’s templates.

该插件提供了完整的A-Z列表的短代码,允许您在不修改主题模板的情况下使用它。

Basic usage is as follows:

基本用法如下:

[a-z-listing]

  [a-z-listing]

To specify a post-type to display instead of page then use, e.g.

要指定要显示的帖子类型而不是 page ,然后使用,例如

post:

post

[a-z-listing display="posts" post-type="post"]

  [a-z-listing display =“ posts” post-type =“ post”]

To filter the posts by a term from a taxonomy:

要按分类法中的术语过滤帖子:

[a-z-listing display="posts" taxonomy="category" terms="my-term-slug"]

  [a-z-listing display =“ posts” taxonomy =“ category” terms =“ my-term-slug”]]

To display pages that are direct children of the page with ID 24:

要显示属于ID为 24 的页面的直接子页面:

[a-z-listing display="posts" post-type="page" parent-post="24"]

  [a-z-listing display =“ posts” post-type =“ page” parent-post =“ 24”]

To display pages that are children of any depth below the page with ID 24:

要显示ID为 24 的页面下方任意深度的子页面:

[a-z-listing display="posts" post-type="page" parent-post="24" get-all-children="yes"]

  [a-z-listing display =“ posts” post-type =“ page” parent-post =“ 24” get-all-children =“ yes”]

To show terms from a taxonomy instead of posts and pages, e.g.

显示分类法中的术语,而不是帖子和页面,例如

Terms from the Categories taxonomy:

Categories 分类中的术语:

[a-z-listing display="terms" taxonomy="category"]

  [a-z-listing display =“ terms” taxonomy =“ category”]

To show terms from the Categories taxonomy that are direct children of the term with ID of 42:

要显示 Categories 分类法中的术语,这些术语是ID为 42 的术语的直接子代:

[a-z-listing display="terms" taxonomy="category" parent-term="42"]

  [a-z-listing display =“ terms” taxonomy =“ category” parent-term =“ 42”]

To show terms from the Categories taxonomy that are children of any depth in the tree below the term with ID of 42:

要显示 Categories 分类中的术语,这些术语在ID为 42 的术语下方的树中是任意深度的子代:

[a-z-listing display="terms" taxonomy="category" parent-term="42" get-all-children="yes"]

  [a-z-listing display =“ terms” taxonomy =“ category” parent-term =“ 42” get-all-children =“ yes”]

To override the alphabet used by the plugin:

要覆盖插件使用的字母:

[az-listing display="posts" alphabet="Aa,Bb,Cc,Dd,Ee,Ff,Gg,Hh,Ii,Jj,Kk,Ll,Mm,Nn,Oo,Pp,

  [az-listing display =“ posts” Alphabet =“ Aa,Bb,Cc,Dd,Ee,Ff,Gg,Hh,Ii,Jj,Kk,Ll,Mm,Nn,Oo,Pp, 

Qq,Rr,Ss,Tt,Uu,Vv,Ww,Xx,Yy,Zz"]

Qq,Rr,Ss,Tt,Uu,Vv,Ww,Xx,Yy,Zz“]

To add numbers to the listing:

要在列表中添加数字:

[a-z-listing display="posts" numbers="after"]

  [a-z-listing display =“ posts” numbers =“ after”]

The numbers can also be shown before the alphabet:

数字也可以显示在字母之前:

[a-z-listing display="posts" numbers="before"]

  [a-z-listing display =“ posts” numbers =“ before”]

You can group the numbers into a single collection for all posts beginning with a numeral:

对于所有以数字开头的帖子,您可以将数字分组到一个集合中:

[a-z-listing numbers="after" group-numbers="yes"]

  [a-z-listing编号=“ after” group-numbers =“ yes”]

To group the alphabet letters into a range:

要将字母分组为一个范围:

[a-z-listing grouping="3"]

  [a-z-listing grouping =“ 3”]

** The arguments are all optional **

**参数都是可选的**

Common options

常用选项

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

Requirements

要求

    1. PHP 5.6 is the minimum version you should be using.

    2. PHP 5.6是您应该使用的最低版本。

      Preferably use the most-recent version of PHP your host offers;

      最好使用您的主机提供的最新版本的PHP;

      PHP 7.2 is ideal.

      PHP 7.2是理想的。

      Older versions of PHP than 5.6 are unsupported.

    3. 不支持PHP 5.6之前的版本。

    4. The plugin requires mbstring turned-on in your PHP installation.

    5. 该插件需要在您的PHP安装中打开 mbstring

      Without this feature the plugin might behave oddly or fail.

    6. 没有此功能,插件可能会表现异常或失败。

    Instructions

    说明

      1. Upload the a-z-listing folder to the /wp-content/plugins/ directory.
      2. 将a-z-listing文件夹上载到 / wp-content / plugins / 目录。

      3. Activate the plugin through the ‘Plugins’ menu in WordPress.
      4. 通过WordPress中的“插件”菜单激活插件。

      5. Use the [a-z-listing] short-code on the page or post that you want to show the listing.
      6. 在要显示列表的页面或帖子上使用 [a-z-listing] 短代码。

      7. Add the A-Z Site Map widget to a sidebar.
      8. 将A-Z网站地图小部件添加到侧边栏。

下载地址

https://downloads.wordpress.org/plugin/a-z-listing.3.1.0.zip

https://downloads.wordpress.org/plugin/a-z-listing.3.1.0.zip

-EOF-

AI助手支持GPT4.0