The issue is with your html structure. It should be
<ul>
<li>
<ul>
<li><a href="">Somwthing</a></li>
</ul>
</li>
</ul>
Related Posts:
- How to enqueue script if widget is displayed on page?
- Why I can’t add a CSS style in this WordPress theme?
- The difference between calling wp_enqueue_scripts to load scripts and styles in custom theme
- Is there a way to set the order of wp_footer hooked functions?
- What can I hook into after_setup_theme?
- What does “Do not deregister the jquery script in the administration area” mean?
- How do you enqueue script tags for ReactDOM in WordPress’ functions.php?
- using wp_enqueue_script to attach jquery-ui
- Enqueued Stylesheets Effecting Admin Styles
- wp_enqueue_script being ignored in custom theme
- Getting jquery to work with custom theme
- Is it safe to enqueue a font style without putting http or https?
- Adding wp_enqueue_media(); causes problem
- Is there a filter for enqueue script to strip the type=”text/javascript” property
- Including Javascript options
- Is my approach to enqueue styles inefficient?
- functions.php not hooking up with style.css
- way to include own functions independent of theme
- How to To Filter wp_enqueue_script() Scripts on Some Pages
- How to add Bootstrap Tour JavaScript to WordPress Admin Panel Dashboard Widget
- Difficulty loading jQuery with wp_enqueue_script
- jQuery not available to other scripts
- Can´t access child theme´s scripts dependencies found in parent
- How to modify default controls in WordPress theme customizer
- How to enqueue javascript for WP Customize options sidebar?
- Enqueued JavaScript is not working
- Overide enqueue in non plugable function via child theme
- How to register and enqueue JavaScript files without breaking plugin dependencies?
- How to fix : Uncaught ArgumentCountError: Too few arguments to function? [closed]
- How to enqueue a script which is type module without using script_loader_tag filter?
- add jquery file if a certain page is included
- Adding google fonts to WordPress theme
- how can i remove js file from my footer in wordpress
- Find out the reason that the Styles and scripts in the theme are loading properly in localhost but Not in server after deploying
- Enqueue script for development purposes only?
- Correct was to customise theme using get_theme_mod in scripts
- how can I re-utilize and class on a child theme
- How do I get my theme scripts to load in a custom theme built from Bootstrap
- enqueue script if page is not equal to
- Theme now uses require.js and enqueue script no longer works
- Enqueue script/style with multiple GET parameters
- after_setup_theme always runs
- What WP folder can I use to write files to?
- How to add default images for custom backgrounds?
- How to call the_excerpt() with tags or the_content() as an excerpt?
- Display a different theme for not logged-in users
- how to test a theme upgrade
- How to set path with WP_Filesystem and ftp base / chroot
- How to Modify a Widgets UL and/or LI Classes
- new theme permissions don’t allow me to edit
- Getting Permalink within the loop
- Allow users to add custom functions to wordpress theme
- What page should I use for a contact form?
- wordpress custom theme import and export options for sample data [closed]
- How to hook CSS file according to theme selection in the customizer section
- What program can I use to preview my wordpress site?
- How to remove a file included in parent theme with locate_template() via child theme?
- Can’t override template file in child theme
- wp_nav_menu add something before closing container and after last list item
- where to split off footer.php
- WordPress Filtering Custom Post Type by Metadata and Search Heirachy
- How to use widget in a widget-less WordPress theme?
- How to wrap all titles generated by Gutenberg “Heading” block with tag
- In creating a theme, how can i allow a user to change an image outside post/page content?
- What Does “Cannot modify header information?” Mean
- Is there any solution, ide/tool etc., for automatic escaping for WordPress?
- What template file is used for homepage pagination?
- WordPress theme resource won’t load over VPN
- Templates without a loop, best practice?
- How the redirect_to parameter is added to wp_login.php when trying to access wp-admin?
- WordPress creating images if uploaded image is greater than 960px on one side?
- Create theme for mobile phones and tablets only?
- Using the media library for theme customization
- Seeting Active Nav for Bootstrap in WordPress
- WordPress 6.x / PHP 8.x deprecated warnings in development environment
- Best way to implement bootstrap after loading
- Building a custom menu or use a plugin?
- Bootstrap slider not working
- How Do I Create a WordPress Demo Site with Limited Admin Access
- Importing sass into underscores theme
- Woocommerce REST API for my account & checkout process
- How can I fix my theme header for my CSS stylesheet?
- Alternative solution for script_loader_tag?
- How to transfer all posts, pages and media
- What are entry.php and its appendix files and is it safe to delete them in a most miniaml site?
- WordPress Customizer Help with FontAwesome Icon
- Correct (and secure) way to escape url when using href attribute
- captiva Theme Error
- “No Data Received” error in Chrome every time i try to update the theme functions file
- Creating a Playlist of Widgets
- Loop through all posts, show attachment if there
- Can’t attach Javascript to theme
- Menu item not created on theme activation
- 404 on child page template
- Confused on loading page content
- why my WordPress theme doesn’t support shortcode? [closed]
- I’m new in developing responsive WordPress Theme, so which framework to use or work from scratch? [closed]
- Not Able to Access Terms Under Custom Taxonomy Archive
- Why is my Toggle field not showing in Gutenberg?
- functions.php doesn’t load all custom theme assets