Support » Plugins » wp_footer() breaks menus?

  • I’m having a very weird problem with a custom theme I’m still in the process of building. I have two standard nav menus in the theme (controlled by the Menu control panel), which has been working fine throughout development. I installed the Portfolio Slideshow plugin and discovered that I had neglected to call wp_footer(), so I added that into my footer.php file. As soon as I did that, the menu links stopped working.

    WordPress is installed in a subdirectory of my domain, so the correct page path looks like this: As long as wp_footer is disabled, links in the menus work fine.

    With wp_footer enabled, clicking a link changes the url in the title bar to and the page doesn’t change. If I click a different link, the “linked-page” part will change to reflect this new link but nothing happens. However, if I click a link in the body of the page it works normally.

    I tried disabling the Portfolio Slideshow plugin but leaving wp_footer enabled, but that didn’t solve the problem.

    Can anyone point me in the proper direction?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Christine Rondeau


    Volunteer Forum Moderator

    Can you provide a link to your site and maybe paste your footer.php code in pastebin so we can see what it looks like?

    Unfortunately I can’t link to the site, due to client confidentiality. But here’s my footer.php code… it’s just all the closing tags for the site structure, and then the call to wp_footer.

            // Define global path variables
            global $templateFolder;
                                    <hr class="clear" />
                            </div><!-- #mainContent -->
                            <div id="footer">
                            </div><!-- #footer -->
                    </div><!-- #wrapper -->
                    <div id="shadowBottom"></div>
                    <?php wp_footer(); ?>
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_footer() breaks menus?’ is closed to new replies.