Conversation
supportHi guys. I am trying to use this plugin, but it creates a list of blank options, with no links and no values and no content. Can anyone help? This is the code it generates: <select> <div class="menu"> <ul> <option class="menu-item-23 menu-item-depth-0" value=""></option> <option class="menu-item-53 menu-item-depth-0" value=""></option> <option class="menu-item-50 menu-item-depth-0" value=""></option> <option class="menu-item-266 menu-item-depth-0" value=""></option> <option class="menu-item-56 menu-item-depth-0" value=""></option> <option class="menu-item-29 menu-item-depth-0" value=""></option> <option class="menu-item-89 menu-item-depth-0" value=""></option> <option class="menu-item-17 menu-item-depth-0" value=""></option> </ul> </div> </select> Thank you! http://wordpress.org/extend/plugins/dropdown-menus/
I am using this code in my template: <select> <?php dropdown_menu( array( 'sort_column' => 'menu_order', 'child_of' => '10', // You can alter the blanking text eg. "- Menu Name -" using the following 'dropdown_title' => '-- Main Menu --', // indent_string is a string that gets output before the title of a // sub-menu item. It is repeated twice for sub-sub-menu items and so on 'indent_string' => '- ', // indent_after is an optional string to output after the indent_string // if the item is a sub-menu item 'indent_after' => '' ) ); ?> </select>
I have this plugin installed – I don’t know if that would make any difference. http://www.webspaceworks.com/resources/wordpress/30/
I am using this code in my template: <select> <?php dropdown_menu( array( 'sort_column' => 'menu_order', 'child_of' => '10', // You can alter the blanking text eg. "- Menu Name -" using the following 'dropdown_title' => '-- Main Menu --', // indent_string is a string that gets output before the title of a // sub-menu item. It is repeated twice for sub-sub-menu items and so on 'indent_string' => '- ', // indent_after is an optional string to output after the indent_string // if the item is a sub-menu item 'indent_after' => '' ) ); ?> </select>
I have this plugin installed – I don’t know if that would make any difference. http://www.webspaceworks.com/resources/wordpress/30/