2020-02-04, 02:28:38
(2020-02-04, 02:05:53)Oleg06 Wrote:(2020-02-04, 01:10:04)tomkow Wrote: Hi
I use this type of navigation:
<?php get_i18n_navigation(return_page_slug(),0, 99,I18N_SHOW_MENU); ?>
I would like to add class="sub-menu" to each UL child menu
<li>Home</li>
<li>Services
<ul class="sub-menu"> //standard is empty <ul>
<li>Cleaning</li>
</ul>
</li>
<li>Contact</li>
I tried to modify the file \admin\inc\theme_functions.php but I give up!
Any help?
Use rendering
PHP Code:<?php get_i18n_navigation(return_page_slug(),0,99,I18N_SHOW_MENU, 'name_component'); ?>
Ok, but what should I add to component?