• Hi,

    I have an issue where my javascript doesn’t seem to load always. My line looks like this:

    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/assets/portfolio/code.photoswipe.jquery-3.0.4.min.js"></script>

    If I do something like change the php to an absolute path, it’ll work for the next time I load the page, but then not again until I edit it in some other trivial way… Anyone have any suggestions? :\

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Javascript not loading’ is closed to new replies.