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 外掛目前已有 6 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Navigation menu as dropdown Widget 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.3.1 | November 27, 2021

  • Maintenance: WordPress 5.9 compatible

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