跳到内容

Custom Index Shortcode

v1.3

teuteca · 2013年2月12日 上架

Create customizable lists of pages by using a simple shortcode which can be called directly from buttons in both TinyMCE and HTML editors.

正在使用
10+
评分
3.0 / 5
累计下载
2,673
最近更新
2014年10月14日
1 条评价需要 WordPress 3.3+已测试到 4.0.38

截图

Tiny MCE button
Tiny MCE button
Tiny MCE options menu
Tiny MCE options menu
HTML button
HTML button
An example
An example
An example with author attribute set to "nolink"
An example with author attribute set to "nolink"

This plugin uses the get_pages() function to retrieve a list of pages and puts it in a indented-list-style output.
The list of pages and the output layout can be customized using arguments; some of them are from the get_pages() arguments list, others are brand new and
output related only.

Below there is a list of the arguments you can use so far:

[1] title –> choose if you want a title to be displayed. default is no title.

[2] titlesize –> select the size of the title.

[3] ID –> you have choose the parent of the list. default is the id of the page you are in.

[4] depth –> choose how many generation of children do you want the list to show.

[5] author –> select if you want to display the author username (with or without link to the author posts).

[6] orderby –> this affects the sort_order argument in get_pages() function. choices are: ‘post_title’, ‘menu_order’, ‘post_date’, ‘post_modified’,’ID’, ‘post_author’, ‘post_name’. default is ‘post_title’ .

[7] order –> ASC, DESC.

[8] list –> choose between ‘unordered’ or ‘ordered’ list.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums