[wordpress插件] Advanced Menu Widget高级菜单小部件

wordpress 插件 文章 2020-02-08 07:00 689 0 全屏看文

AI助手支持GPT4.0

评分

96

96

描述

This plugin adds enhanced “Navigation Menu” widget.

此插件添加了增强的“导航菜单”小部件。

It offers many options which could be set to customize the output of the custom menu through the widget.

它提供了许多选项,可以设置这些选项以通过小部件自定义自定义菜单的输出。

Features include:

功能包括:

    • Custom hierarchy – “Only related sub-items” or “Only strictly related sub-items”.
    • 自定义层次结构-“仅相关子项目”或“仅严格相关子项目”。

    • Starting depth and maximum level to display + flat display.
    • 开始显示的深度和最大水平+平面显示。

    • Display all menu items starting with the selected one.
    • 显示从所选菜单开始的所有菜单项。

    • Display only direct path to current element or only children of selected item (option to include the parent item).
    • 仅显示指向当前元素的直接路径,或仅显示所选项目的子项(包括父项的选项)。

    • Display menu as drop down.
    • 将菜单显示为下拉菜单。

    • Custom class for a widget block.
    • 小部件块的自定义类。

    • And almost all the parameters for the wp_nav_menu function.
    • wp_nav_menu 函数的几乎所有参数。

    • shortcode [advMenu]
    • 简码 [advMenu]

    • Display menu items descriptions.
    • 显示菜单项说明。

    Are you missing something or isn’t it working as expected ?

    您是否缺少某些东西,或者它是否按预期工作?

    I am open to suggestions to improve the plugin !

    我愿意提出改进插件的建议!

    Thanks the Slovak WordPress community and

    感谢斯洛伐克语WordPress社区

    ="nofollow">Webikon for the support.

    =“ nofollow”> Webikon 获得支持。

    For more information about me check out my personal page.

    有关我的更多信息,请查看我的个人页面

    Options

    选项

      • “Title” – set the title for your widget
      • “标题” –设置小部件的标题

      • “Custom Widget Class” – custom class for widget block
      • “自定义小部件类” –小部件块的自定义类

      • “Select Menu” – menu from the custom menus you want show
      • “选择菜单” –您要显示的自定义菜单中的菜单

      • “Show hierarchy” – you can set to display only related or strictly related items
      • “显示层次结构” –您可以设置为仅显示相关或严格相关的项目

      • “Starting depth” – display only menu items which depth is greater then this
      • “起始深度” –仅显示深度大于此深度的菜单项

      • “How many levels to display” – limit the display from 1 to 5 levels or flat display
      • “要显示多少级” –将显示范围限制为1到5级或平面显示

      • “Filter selection from” – only items which are children or grandchildren of selected element will be displayed
      • “过滤器选择自”-仅显示所选元素的子项或子项

      • “Select the filter” – filter the direct path for the current menu item (like breadcrumb navigation) or display only its children
      • “选择过滤器” –过滤当前菜单项的直接路径(例如面包屑导航)或仅显示其子菜单

      • “Include parents” – when checked it display also parent item upon filters (e.x. Display only children of selected item)
      • “包含父项” –选中后还会在过滤器上显示父项(例如,仅显示所选项的子项)

      Shortcode

      简码

      You can use [advMenu] shortcode with the parameters listed below:

      您可以将 [advMenu] 简码与以下列出的参数一起使用:

      'nav_menu' (menu ID)

       'nav_menu'(菜单ID)

      'title'

      '标题'

      'dropdown'

      '落下'

      'only_related'

      'only_related'

      'depth'

      '深度'

      'container'

      '容器'

      'container_id'

      'container_id'

      'menu_class'

      'menu_class'

      'before'

      '之前'

      'after'

      '后'

      'link_before'

      'link_before'

      'link_after'

      'link_after'

      'filter'

      '过滤'

      'filter_selection'

      'filter_selection'

      'include_parent'

      'include_parent'

      'start_depth'

      'start_depth'

      'hide_title'

      'hide_title'

      'custom_widget_class'

      'custom_widget_class'

      e.g.

      例如

      [advMenu title="Menu Title" nav_menu=2]

      [advMenu title =“菜单标题” nav_menu = 2]

安装步骤

Activate the plugin.

激活插件。

You can set everything right on the widget control panel.

您可以在小部件控制面板上直接设置所有内容。

下载地址

https://downloads.wordpress.org/plugin/advanced-menu-widget.zip

https://downloads.wordpress.org/plugin/advanced-menu-widget.zip

-EOF-

AI助手支持GPT4.0