• Resolved feilberg

    (@feilberg)


    Hello
    Menu is displaying a 2nd time after footer using cpo “allegiant” theme.
    I’ve tried every single “duplicated menu” solution I’ve found here with no success. Here’s a live version:
    https://brtesterino.esy.es/

    I’ve tried to isolate the problem and it seems to be the line “<?php wp_footer(); ?>” before </body> in “footer.php” file which is triggering this bug.
    Thank you very much for your time.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi fellberg,

    Is there definitely not a call to wp_nav_menu in the footer? I’ve never known a menu to be included through wp_footer() before, but I guess it is entirely possible. Your theme author would be the best person to ask for details on how to track down where it’s coming from exactly.

    You can also hide the footer menu using this CSS:

    body > #mega-menu-wrap-main_menu {
      display: none;
    }

    Regards,
    Tom

    Thread Starter feilberg

    (@feilberg)

    Hi again

    Yes, definitely there is no call to wp_nav_menu in footer.php.
    I’ve typed “echo ‘—–‘;” before and after wp_footer(); to confirm it was coming from there.

    Anyway, your css workaround is working fine, and i’ve sent a support request to cpo team, if they give me an answer i’ll share it here.

    Thank you very much for your help.

    Thread Starter feilberg

    (@feilberg)

    This is the answer CPO team gave me:
    “wp_footer is absolutely required in all themes, by WordPress. It’s core WordPress functionality. I’m betting this bug is from Max Mega Menu as they’re probably adding some hooks wrongfully.”

    I don’t know who’s wrong, but im done with this issue. Just thought it would be positive to share theire view on this.
    I’ll set this as resolved as your workaround is doing the job, and thank you a las time for your time and your plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Menu is duplicated after footer’ is closed to new replies.