Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Chouby

    (@chouby)

    Hi Andrii,

    I have seen your website. That’s the first time I see such issue. Could you check if it works with a default theme and no other plugins?

    It seems that you are using a custom theme. How did you setup your menu?

    Thread Starter Andrii Ryzhkov

    (@ryzhkov)

    Only Polylang couses problem. The theme is custom. Other themes seems work fine. Menu is based on Bootstrap Nav Walker.

    <div class="collapse navbar-collapse" id="primary-navbar"
                     role="navigation">
                         <?php
                         if (has_nav_menu('primary')) :
                             wp_nav_menu(array(
                                 'theme_location' => 'primary',
                                 'depth' => 3,
                                 'walker' => new TSATU_Nav_Walker(),
                                 'menu_class' => 'nav navbar-nav'
                             ));
    
                         endif;
                         ?>
                </div>

    Plugin Author Chouby

    (@chouby)

    Could you check without this custom nav menu walker?

    Thread Starter Andrii Ryzhkov

    (@ryzhkov)

    The native Walker_Nav_Menu looks to produce relevant html, though it does not work with Bootstrap. I use this instead https://github.com/twittem/wp-bootstrap-navwalker

    Plugin Author Chouby

    (@chouby)

    I tested this menu walker and the html is correctly outputed. The conflict looks more complex than just Polylang + this menu walker. Did you modify it?

    Thread Starter Andrii Ryzhkov

    (@ryzhkov)

    Yes, it is modified. But the original wp-bootstrap-navwalker from github behaves the same for me.

    Hi,
    I just updated Polylang to 1.7.1 and had the same problem with the menu.
    The /en/ (english version) in the links of my menu disapeared turning them into 404 pages.
    Deactivating it solved the problem so the issue is linked to this plugin.
    Thanks for your help resolving it
    Amanda

    Plugin Author Chouby

    (@chouby)

    @amanda123
    Your problem is not the same as described in this topic. However, updating to 1.7.2 would probably solve your issue. If not, please open a new topic.

    @andrii
    I am not sure at all that your problem is linked to the bugs I fixed in 1.7.2. But it may be worth trying it. Let me know.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘1.7.1 breakes my menus’ is closed to new replies.