By using Optimized Dropdown Menus Widget, you’ll be able to create dropdown menus that are searchable or “spiderable” by search engine bots.
So how does it work?
Basically, it works like this:
The menu’s markup code is being printed as an ordinary nested menu. e.g.
<ul> <li><a href="http://example.com/page">Some Random Page</a></li> <li><a href="http://example.com/page-another">Another Page</a></li> <li><a href="http://example.com/yao">Yet Another One</a></li> </ul>
<select> <option value="http://example.com/page">Some Random Page</option> ... <option value="http://example.com/page">Something else</option> </select>
ODM also supports a range of per-widget settings:
- Control whether links will be open in new window or in the same window
- Choose to use HTML5/XHTML markup for the menu
Features set for the next versions
Soon there will be an option for developers to use the same functionality via the code. e.g.
Currently, these translations are available:
Install Optimized Dropdown Menus in 3 easy steps
- Upload the plugin folder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to Appearance > Widgets and drag the widget (“Optimized Dropdown Menu”) to any sidebar you wish
- How do I add a menu?
First you should set up a menu before you attempt to use the widget. In order to do that, go to Appearance > Menus and create a new menu. When you’re finished creating and saving the new menu, go back to Appearance > Widgets and select the appropriate menu.
以下人員參與了開源軟體〈Optimized Dropdown Menus〉的開發相關工作。參與者
- New! Added support for opening links in new window. Proposed by Kari S.
- Added new es_ES, sr_RS translations. Thank you, Ognjen Djuraskovic!
- Optimized Dropdown Menus is now translation-ready
- Fixed bug where the menu was rendered, but the “Go” button was not responding. props Graham W.
- Codebase improved, now wrapped in a class
- Initial release.