Navigation menu as dropdown Widget

描述

Convert a Navigation Menu to a dropdown which you visitors can use to navigate to another page.
This can be a nifty element on mobile webpages or just to provide a quick way to navigate to users.

屏幕截图

  • The dropdown on the frontend with the selected menu. The current page will be selected by default.
  • How to place the widget from the admin panel

安装

How do I use this widget?

If you go to Widgets in the Appearance menu, you will be able to drag-and-drop the
‘Navigation menu as dropdown’ widget to a place of your choosing.

Please give a title (or not) and select the menu to convert to a dropdown.

Installing the plugin

Installation is very easy. You can just download this plugin through the
Plugin Finder in your WordPress Administration Panel. Install and activate
the plugin to make the widget available.

常见问题

How do I use this widget?

If you go to Widgets in the Appearance menu, you will be able to drag-and-drop the
‘Navigation menu as dropdown’ widget to a place of your choosing.

Please give a title (or not) and select the menu to convert to a dropdown.

Can I also submit a custom start-text?

Yes you can, when you add the widget you will see that option.

Can I also preselect the current page?

Yes you can, there is an option “Preselect the visited page in dropdown” when you add the widget.

Can I customize the appearance / styling of the dropdown?

Yes you can, with CSS. If you know your way around CSS you might already know that you can
style elements by their class name or HTML structure. We just have a simple select-element
here. The pages inside (option-elements) have classes. For the upper layer it’s pd_tld,
the second layer has pd_sld.

Styling selects still is hard in current browsers, but this is changing.

I do offer help on styling / CSS if you are willing to make a small donation.

Does it support more than 1 level in linkstructure?

No, not at this moment. I will work on that. It currently supports one level of parent-child structure.

Support/Donate

If you like this plugin and want to support and/or thank me,
please buy me a coffee.

How can I contact you?

If you have questions about the plugin or if you have ideas to share, the best way
to contact me is through the
Support Forums

Who made the icon?

Icons made by Freepik from Flaticon

评价

2021年10月15日
Perfect, just what I needed.
2020年11月23日
The plugin is simple and works out of the box. I had some suggestions for improvement that were quickly implemented by the manufacturer within 3 updates in a week. Top! I can only recommend the plugin, it is very easy to use and easy to modify.
阅读所有5条评价

贡献者及开发者

“Navigation menu as dropdown Widget” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Navigation menu as dropdown Widget”插件已被翻译至5种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Navigation menu as dropdown Widget”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.3.0 | June 21, 2021

  • New feature: ability to truncate entries at X characters
  • Maintenance: WordPress 5.8 compatible

1.2.3 | December 8, 2020

  • Improvements: Text, explanation and screenshots

1.2.2 | November 22, 2020

  • Enhancement: Select first option when external link was clicked

1.2.1 | November 19, 2020

  • Bugfix: Open links when not in new/window

1.2 | November 19, 2020

  • New feature: choose if the current page should be selected
  • New feature: choose if the pages should be opened in a new tab/window
  • Maintenance: WordPress 5.6 compatible

1.1.2 | October 22, 2020

  • Fix: compatibility with translate.wordpress.org

1.1.1 | October 7, 2020

  • New feature: compatibility with translate.wordpress.org

1.1.0 | October 7, 2020

  • New feature: ability to set the initial value
  • Maintenance: WordPress 5.5 compatible

1.0.0 | May 3, 2020

  • Initial release