anton minchuk
Forum Replies Created
-
Forum: Plugins
In reply to: [Polylang] Cant change menuOMG! You are like Moses for me now! Thank you a lot-lot-lot! And please take my deepest gratitude for your great plugin and your precious help!!!
Forum: Plugins
In reply to: [Polylang] Cant change menuOK i tried to replace the string with ‘theme_location’ => ‘primary’ ); but after that no any menu is displayed.
i found the code in one of theme file with register_nav_menus it looks like:
function register__menus() { register_nav_menus( array( 'main-menu' => __( 'Main Menu' ), 'optional-menu-one' => __( 'Optional Menu One' ), 'optional-menu-two' => __( 'Optional Menu Two' ), 'optional-menu-three' => __( 'Optional Menu Three' ), 'optional-menu-four' => __( 'Optional Menu Four' ), 'optional-menu-five' => __( 'Optional Menu Five' ) ) ); }
what else can be done about that?
Forum: Plugins
In reply to: [Polylang] Cant change menualso i’ve found that if i change the any of two menus’ name to “main-menu” it will be displayed…
Forum: Plugins
In reply to: [Polylang] Cant change menuit seems to me that my menu is calling by function in such way:
<?php if( has_nav_menu( 'main-menu' ) ) { $menu_defaults = array( 'menu' => 'main-menu', 'container' => 'div', 'container_class' => 'dropmenu upper', 'container_id' => 'globalnavi', 'menu_class' => 'navigation', 'menu_id' => 'dropmenu', 'echo' => true, 'fallback_cb' => '', 'before' => '', 'after' => '', 'link_before' => '', 'link_after' => '', 'depth' => 0, 'walker' => '', 'theme_location' => '' ); wp_nav_menu( $menu_defaults ); } ?>
Forum: Plugins
In reply to: [Polylang] Cant change menuif to be correct. The firs menu i have created is displaying. No other menus are displayind despite of settings. theme – sofa suppastore, link on site https://www.buyboots.com.ua/ – it is still in deep construction. Also there is no language switcher in menu, but i’ve checked the menu switcher feature…
Forum: Plugins
In reply to: [Polylang] Cant change menusame problem. Always the default language menu is displayed. When i switch the language, i have same old default language menu. Can you fix it?