[wordpress插件] Auto Submenu自动子菜单

wordpress 插件 文章 2020-02-24 20:40 515 0 全屏看文

AI助手支持GPT4.0

评分
80
描述

By default, the menu system in WordPress only allows you to “Automatically add new top-level pages”, and does not offer the same functionality for new child pages.

默认情况下,WordPress中的菜单系统仅允许您“自动添加新的顶层页面”,而不能为新的子页面提供相同的功能。

Auto Submenu solves that problem.

自动子菜单解决了这个问题。

When activated, Auto Submenu will do its magic whenever you publish a new child page.

激活后,每当发布新的子页面时,“自动子菜单”将发挥其魔力。

If the new page’s parent is placed in a custom menu, then the new page will be added to that menu too (one level below its parent).

如果新页面的父项位于自定义菜单中,那么新页面也将添加到该菜单中(其父项下一级)。

Should you wish to reorder or delete the new page from the menu, you can simply do so on the admin Menus Screen.

如果您希望对菜单中的新页面进行重新排序或删除,只需在管理菜单屏幕上进行即可。

The plugin does not have any settings.

该插件没有任何设置。

Auto Submenu will just work for all custom menus where the “Automatically add new top-level pages” setting is enabled.

“自动子菜单”仅适用于启用了“自动添加新的顶层页面”设置的所有自定义菜单。

安装步骤

The easiest way to install this plugin is via the admin’s Plugins screen.

安装此插件的最简单方法是通过管理员的“插件”屏幕。

Alternatively:

或者:

    1. Upload the auto-submenu directory to the /wp-content/plugins/ directory.
    2. auto-submenu 目录上载至 / wp-content / plugins / 目录。

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

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

AI助手支持GPT4.0