[wordpress插件] Custom Menu Plugin自定义菜单插件

wordpress 插件 文章 2020-04-09 22:00 669 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin allows you to add a custom “sub” menu to individual pages.

此插件可让您向各个页面添加自定义的“子”菜单。

Where WordPress only really allows for one “sub” menu to be added across all pages, this plugin allows you to have a different menu for each individual page.

WordPress实际上只允许在所有页面上添加一个“子”菜单,而此插件可让您为每个页面设置不同的菜单。

If no menu is selected, will use the child pages by default.

如果未选择菜单,则默认情况下将使用子页面。

If no child pages, will list all top-level pages.

如果没有子页面,将列出所有顶级页面。

安装步骤

Installation

安装

    1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins / plugin-name 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    Usage

    用法

      1. Head to the ‘Widgets’ screen and add a Text widget to your Widget Area.

      2. 转到“窗口小部件”屏幕,然后将文本窗口小部件添加到您的窗口小部件区域。

        In that text widget, enter the shortcode, [the_custom_menu].

      3. 在该文本小部件中,输入短代码 [the_custom_menu]

      4. If you haven’t created any custom menus yet, navigate to the ‘Menus’ screen and create your menu.
      5. 如果您还没有创建任何自定义菜单,请导航至“菜单”屏幕并创建菜单。

      6. Go to the ‘Pages’ screen and you can either go to the page you wish you edit, use Quick Edit or if you need to edit a bunch of pages, use Bulk Edit.

      7. 转到“页面”屏幕,您可以转到想要编辑的页面,使用快速编辑,或者如果需要编辑一堆页面,请使用批量编辑。

        From there, select the custom menu from the new ‘Menus’ dropdown.

        在此处,从新的“菜单”下拉菜单中选择自定义菜单。

        Be sure to save.

      8. 请务必保存。

下载地址
https://downloads.wordpress.org/plugin/custom-sub-menus.zip
-EOF-

AI助手支持GPT4.0