Linux 软件免费装
Banner图

ATR advanced menu

开发者 yehudaT
更新时间 2021年2月11日 18:34
捐献地址: 去捐款
PHP版本: 3.9 及以上
WordPress版本: 5.6.1
版权: GPLv2 or later
版权网址: 版权信息

标签

plugin menu mega menu custom Walker_Nav_Menu

下载

1.0.0 1.0.1 1.0.2 1.0.3 1.04

详情介绍:

Easily create accessible mega/dropdown menu with images/icons/title/posts using standard Wordpress menu editing page (supports keyboard interaction ). Add menu item icons and images from media library, icon-font or featured image of the post(automatically). Create menu items with none standart content, like videos, post content or anything that can be put in a post. Note: This plugin requires a change of the header.php file of your theme (or another file, if the menu is defined somewhere else). It also requires css editing in order to style it. It will technically work out of the box but you nust style it. See a demo here: https://www.youtube.com/watch?v=Ud0txlQ-ErQ See the menu editing guide here: https://www.youtube.com/watch?v=6efuT-zL_DM Features
  1. Save each item without reloading the page.
  2. Each menu item is conrolled separately
  3. Show images in menu items. Select between font icon, image from media library, Featured image of the post or none.
  4. In addition to the image you can show in the menu: Title Attribute, Description and Subtitle.
  5. Menu items can load full post (thus, enables you to inject html, video, image etc. or even shortcode) or post excerpt directly into it.
  6. Remove title (and link) from menu item (if you want the menu item with post not to show menu title).
  7. Load web-font directly from the menu settings.
  8. Let you define a unique class to each drop down panel. This way you can control each panel layout separately.
  9. Uses class prefix to avoid css conflicts.
all the editing of the menu is done by the familiar menu editor of wordpress.

安装:

Note: You must define a valid menu in your WP before activating the plugin in order for it to work correctly. If you see an error regarding this plugin, deactivate it and set a menu first. Installation can be done either by searching for "ATR advanced menu" via the "Plugins > Add New" screen in your WordPress dashboard, or by using the following steps:
  1. Download the plugin via WordPress.org
  2. Upload the zip file through the 'Plugins > Add New > Upload' screen in your WordPress dashboard
  3. Activate the plugin through the 'Plugins' menu in WordPress
After installation: Important! You must edit the header.php file of your theme in order to use the menu. Edit your theme header.php file and add 'walker' => new atr_advanced_menu_walker() to wp_nav_menu. : add to this: 'primary', 'menu_class' => 'nav-menu', 'menu_id' => 'primary-menu' ) ); ?> See the last property: 'primary', 'menu_class' => 'nav-menu', 'menu_id' => 'primary-menu', 'walker' => new atr_advanced_menu_walker() ) ); ?> Note 1: If you use a theme that uses indirect call to the menu definition (mostly in bought themes or themes that use a framework) you'll have to find the correct way to apply the plugin in that theme. Note 2: Examine the class of the menu wrapper div in your theme (like 'menu_class' => 'nav-menu' in above example ). Usually this theme class has properties that override the plugin's css definitions and can mess up your menu. If that happens, simply specify the css rule like so: Find the rule that breaks the menu, for example: .main-navigation ul ul {} Duplicate it and add ".megamenu" (the wrapper for the plugin's generated menu ) as an explicit selector. .main-navigation .megamenu ul ul {} You'll have also to set the other classes for the menu to display well. Settings Right after activating the plugin, go to Appearance - > ATR advanced menu Settings Set your settings and save.

屏幕截图:

  • Description of first screenshot named screenshot-1
  • Description of second screenshot named screenshot-2
  • Description of third screenshot named screenshot-3

更新日志:

1.0.4 1.0.3 1.0.2 1.0.1 1.0