Search code examples
javascriptjquerywordpressdrop-down-menuconflict

jQuery conflict only on posts, not in pages and home (wordpress)


I'm focusing for days to fix this problem but it seem I'm not able to.

I have a wordpress website > http://www.davidegiorgetta.com. It has a standard menu on the top, that when you'are using and iPad or smaller devices (you can try resizing the browser as well) becomes a drop-down menu, with a black button.

When you're in the home page or in another random page it works perfectly, but when you're in a post page it doesn't.

I really don't know the origin of the problem. It seems a jQuery conflict but the console log doesn't show any error.

Really hope you can suggest me a way to fix it.

Thanks a lot for your time.


Solution

  • you're not closing your tags properly, therefore the footer isn't loading, and the scripts needed to make the navbar works located in

    <script type='text/javascript' src='http://www.davidegiorgetta.com/wordpress/wp-content/themes/Pronto/js/global.js?ver=1.0'></script>
    

    aren't loading either.

    When checking your source code, I see it ends in this line:

    </div><!-- #primary -->
    

    so I have teh feeling you forgot to add

    <?php get_footer(); ?>