Menu

WordPress Menu item > Sub menu Class update

WordPress Menu item > Sub menu Class update
  1. How do I change the sub menu class in WordPress?
  2. How do I create a dynamic submenu in WordPress?
  3. How do I add a class to a menu item in WordPress?
  4. How do I get to menu in WordPress?
  5. How do I add a class to WP Nav menu li a href?
  6. How do I create a multi level menu in WordPress?
  7. How do I change a static menu to a dynamic menu in WordPress?
  8. How do I show primary menu in WordPress?
  9. How do I style a menu in WordPress?
  10. How do I get the header menu in WordPress?

How do I change the sub menu class in WordPress?

By this way, only one method needs to be overridden below is the code that you can use:

  1. class My_Walker_Nav_Menu extends Walker_Nav_Menu
  2. function start_lvl(&$output, $depth)
  3. $indent = str_repeat("\t", $depth);
  4. $output .= "\n$indent<ul class=\"my-sub-menu\"">
post.php AJAX request not being called when publishing post
Why Ajax post is not working? How do I send an Ajax request on the same page? How do I know if Ajax is working? How Ajax get data from another page in...
How to get Regenerate Thumbnails plugin to make larger plugins than original? [closed]
How do I resize a thumbnail in WordPress? Which plugin is used to regenerate thumbnails? What does force regenerate thumbnails do? Why are my thumbnai...
How do I make the three columns in a section the same height in the website? [closed]
How do I make columns equal height? How do I make columns same height in CSS? How do I make columns equal in HTML? How do I make divs the same height ...