Add active class to product subcategory and to its parent element

前端 未结 0 1673
醉话见心
醉话见心 2021-01-24 19:12

 $args = array(
     \'taxonomy\'     => \'product_cat\',
     \'orderby\'      => \'name\'
 );
 $all_categories = get_categories( $args );
 
 foreach ($all_categ         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题