[wordpress插件] Auto Subpage Menu自动子菜单

wordpress 插件 文章 2020-02-24 20:50 525 0 全屏看文

AI助手支持GPT4.0

评分
86
描述

By default wordpress menu system, wordpress can only automatically addemove top-level page to/from menus

在默认的wordpress菜单系统中,wordpress只能自动在菜单中添加/删除顶层页面 /从菜单中删除

    • When publish top-level page then add it into menus
    • 发布顶级页面后,将其添加到菜单中

    • When move top-level page to trash then remove it from menus
    • 移动顶级页面至垃圾箱,然后将其从菜单中删除

    • When restore top-level page then add it into menus
    • 还原顶级页面后,将其添加到菜单中

    this feature has no effect with subpage (child page), but Auto Subpage Menu can

    此功能对子页面(子页面)无效,但自动子页面菜单可以

      • When publish subpage (child page) then add it into menus (if its page parent exists in menu)
      • 发布子页面(子页面)时,将其添加到菜单中(如果其父页面位于菜单中)

      • When update subpage (child page) then update menus
      • 更新子页面(子页面)时,然后更新菜单

      • When move subpage (child page) to trash then remove it from menus
      • 移动子页面(子页面)以进行垃圾回收,然后将其从菜单中删除

      • When restore subpage (child page) then add it into menus
      • 还原子页面(子页面)时,将其添加到菜单中

      Notes

      注释

安装步骤

    1. Install the plugin via plugin’s dashboard or download and upload this plugin into wp-content/plugins directory
    2. 通过插件的仪表板安装插件,或下载此插件并将其上传到 wp-content / plugins 目录

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

    5. Go to Menus and check Automatically add new top-level pages to this menu
    6. 转到菜单并选中自动将新的顶层页面添加到此菜单

    7. Let’s see the magic
    8. 让我们拭目以待

下载地址
https://downloads.wordpress.org/plugin/auto-subpage-menu.zip
-EOF-

AI助手支持GPT4.0