[wordpress插件] Display Pages Shortcode显示页面简码

wordpress 插件 文章 2020-04-19 12:51 498 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

The Display Pages Shortcode was written to allow users to easily display listings of pages without knowing PHP or editing template files, it is based heavily on the [display-posts] shortcode by Bill Erickson.<

显示页面简码的编写是为了使用户能够轻松显示页面列表而无需了解PHP或编辑模板文件,它很大程度上基于Bill Erickson的[display-posts]简码。<

/p>

/ p>

Add the shortcode in a post or page, and use the arguments to query based on tag, id, post type, and many other possibilities (see the Arguments).

在帖子或页面中添加简码,并使用参数根据标签,id,帖子类型和许多其他可能性进行查询(请参见自变量)。

I’ve also added some extra options to display something more than just the title: include_date, include_excerpt, and image_size.

我还添加了一些其他选项,以显示不仅仅是标题的内容:include_date,include_excerpt和image_size。

See the WordPress Codex for information on using the arguments.

有关使用参数的信息,请参见 WordPress Codex

Documentation |

文档 |

Examples

示例

安装步骤

    1. Upload display-pages-shortcode to the /wp-content/plugins/ directory.
    2. display-pages-shortcode 上载到 / wp-content / plugins / 目录。

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

    5. Add the shortcode to a post or page.
    6. 将简码添加到帖子或页面中。

下载地址
https://downloads.wordpress.org/plugin/display-pages-shortcode.1.1.zip
-EOF-

AI助手支持GPT4.0