In fact it works; i just didn’t bind the behaviour to the right element. It should be bound to the #mainmenu>li and then it works. Dumb me!
Related Posts:
- How to use wp_nav_menu to create a select menu dropdown?
- how to get value of wp_dropdown_categories
- Filter a second dropdown list when a value is chosen in the first one
- Add submenu using the bootstrap wp_nav_menu
- Drop-down menu with wp_dropdown_pages
- How to number the options in a wp_dropdown_pages() select?
- Selected attribute of Drop down list
- Ultimate Member callback function issue
- Filter table with dropdown
- Get the selected option from drop down list
- pages meta box – get_categories dropdown
- Bootstrap drop down Navigation Menu in WordPress
- wp_dropdown_pages : choose post status to list in dropdown
- create drop down menu
- How to populate a dropdown menu with option selected?
- Link to subpages on the same page
- Using wp_dropdown_users and selected() function?
- working with result of wp_dropdown_pages()
- Help with a get_categories () drop down menu – I want it to show in heirachial form
- Dropdown list control in a post
- wp_dropdown_users array for param selected
- top primary menu drop down categories not showing
- First ID won’t be excluded in wp_dropdown_pages with an $arg from tax_query
- Multiple Dropdown’s with Submit Button
- Create a drop down list within an active page not nav menu
- wp_dropdown_categories – remove
- PayPal button with drop down menu not working [closed]
- How to solve dropdown menu problem [closed]
- Dropdown Value from DB Entry
- Taxonomy dropdown metabox in the back-end
- Add a dropdown to theme customizer
- Dropdown with category selection
- How to store the value of a custom field dropdown select for post referencing?
- List custom post types in dropdown
- Saving two categories from two dropdowns in front end posting form
- How to add HTML5 ‘required’ attribute to wp_dropdown_categories() without JavaScripts?
- How to retain the values from dropdown category lists after wrong form submission?
- wp_dropdown_pages default value
- Threaded Comments Feature not working
- Dropdown filter in custom posts
- create drop down menu in theme customizer from custom db
- WooCommerce Country Drop Down colours CSS [closed]
- Filter Select results based on selection
- Dynamic dropdown from database table
- How to pick the default selected value in wordpress dropdown?
- How to create a dropdown select of all items in an ACF field group
- wp_dropdown_categories() scripts working erratically on sidebar
- Faceted search with WP-API data
- How to make custom taxonomy into drop down select in a custom metabox
- Create a Dropdown from Custom Post Type
- wp_dropdown_pages doesn’t work with post_type argument
- How to add html attributes to the “ul” html tag with “wp_nav_menu” function?
- Change The Woocommerce Product Categories Dropdown Widget Placeholder Text
- Dropdown menu not displaying WordPress
- Page Template Dropdown For Custom Post Types
- Multiple Custom Taxonomy Dropdowns Lists
- Filter posts by categories ajax is showing nothing
- Redirect wp_dropdown_pages() to an AJax request?
- Filter By Category Dropdown List With Custom Taxonomies
- How to selected value default in option list?
- Wp Dropdown Category Not Show Current As Title
- Removing Submenu from Menu
- Dropdown menu on click change
- the_content returns blank when adding SEO details
- dropdown menu, with walker
- How to edit a custom theme?
- Customize the Sorting Dropdown in WooCommerce use another list or more page
- Custom field with terms from another taxonomy programmatically
- How to hide “Change role to” dropdown on Users admin menu
- $wpdb not working wordpress plugin ajax call
- Load google font script based on optgroup label selected
- Woocommerce Category Sort Dropdown
- semantic ui dropdown for custom metabox
- Use output of wp_dropdown_categories($args)
- Multiple quantities with options
- How to hide/show meta box using jQuery,if click on Drop-Down Menu
- add image in dropdown select
- How can I create this menu with wp_nav_menu()?
- Custom dropdown search form that allows users to select option B based from Option 1
- Foundation Scripts not loading (custom theme)
- show-hide based on select option jquery wordpress
- Get category fixed in dropdown browse categories
- No indication of menu
- How to remove related post from home page
- custom field meta-box with dropdown/autocomplete
- Create custom fields/meta data gender+country – radiobuttons and dropdown on register screen for these fields
- Foundation 5 Dropdown Top Bar not working in WordPress
- How to make a drop down menu with categories
- Display posts order by custom post in a dropdown menu
- Calling Custom Taxonomy Dropdown in Form
- Weird Code Being Added to WordPress Site [Thesis]
- Custom fields: dropdown values depending on other custom field value
- Creating Multiple Menus in the Thesis Theme?
- Should I custom code drop down menus or use a wordpress plugin?
- Keeping my Sub Menu open when hovering on its list items
- Jquery dropdown menus working locally, but not in WordPress [duplicate]
- Contact form with dynamic dropdown and filter
- WordPress shortcode select option not working [closed]
- Taxonomy to display form after creation
- Add options to WordPress Blocks form dropdown field