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\"">
buy and download system with mycred
Is myCred free? What is myCred? How do I use myCred plugin? How does myCred work? Where can I redeem my cred points? What is AffiliateWP? What is Word...
post sub title and name not appearing in the post? [closed]
Is there a difference between subtitles and closed captions? Why are captions closed? What is the difference between open and closed captions? How do ...
How to show specific category products on top while sorting by latest woocommerce?
How do I manage WooCommerce product sorting options? How do I show a category wise product in WooCommerce? How do I arrange categories in WooCommerce?...