[wordpress插件] Count Children数孩子

wordpress 插件 文章 2020-04-03 09:10 506 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin allows you to dynamically return the number of children for a particular page.

此插件可让您动态返回特定页面的子代数。

Inserting [children page="page-slug"] in a post or page, or

在帖子或页面中插入 [children page =“ page-slug”] ,或 <?php do_shortcode('children page =“ page-slug”');

?> anywhere in WordPress’ code will return the number of children for that particular page.

WordPress代码中任何地方的?> 都将返回该特定页面的子代数。

Useful for creating dynamic table of contents pages, keeping track of page stats, general bragging, or any place where keeping a running tally might be desirable.

用于创建动态目录表,跟踪页面统计信息,普遍吹牛或可能需要保持连续运行的任何地方。

Readme Generator

自述生成器

安装步骤

    1. Download the latest zip file and extract the count-children directory.
    2. 下载最新的zip文件并提取 count-children 目录。

    3. Upload this directory inside your /wp-content/plugins/ directory.
    4. 将此目录上传到您的 / wp-content / plugins / 目录中。

    5. Activate ‘Count Children’ on the ‘Plugins’ menu in WordPress.
    6. 在WordPress的“插件”菜单上激活“计数孩子”。

    7. Insert [children page="page-slug"] in a post or page (replacing page-slug with an acutal slug name) to return the number of child pages under that page.

    8. 在帖子或页面中插入 [children page =“ page-slug”] (用page子名字替换page-slug)以返回该页面下的子页面数。

      li>

      li>

下载地址
https://downloads.wordpress.org/plugin/count-children.1.0.0.zip
-EOF-

AI助手支持GPT4.0