• Resolved nimnim

    (@nimnim)


    Dear Jules,

    I have installed your plugin on my wordpress 4.7.4 and it works fine when I use it within my theme. But I’m trying to create a landing page using the Ultimate Landing Page plugin (which apparently does not use anything from my theme). When I embed the form there the hidden items don’t show up when the conditions are met. I checked the html code and it looks no javascript is loaded in the landing page, while it loads when I’m using it within the theme. I tried to manually copy the JS to the landing page theme, but no success. I appreciate your help and thanks for the great plugin!

    Best
    Nima

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    make sure the wp_footer() function is called. Normally this is called in your theme’s footer.php file, but the plugin you mention might not load this file. If it turns out this is the problem, please contact the author of thee plugin and let them know that they should call wp_footer() somewhere near the end of rendering the landing page.

    https://codex.wordpress.org/Function_Reference/wp_footer

    <?php
       /* Always have wp_footer() just before the closing </body>
        * tag of your theme, or you will break many plugins, which
        * generally use this hook to reference JavaScript files.
        */
        wp_footer();
    ?>
    </body>
    </html>
    Thread Starter nimnim

    (@nimnim)

    It worked perfectly! Thanks for your help!

    Plugin Author Jules Colle

    (@jules-colle)

    you’re welcome! feel free to leave a small review if you like the plugin 😉

    Thread Starter nimnim

    (@nimnim)

    Gladly! I’ll do it right away! thanks again

    Plugin Author Jules Colle

    (@jules-colle)

    thanks, much appreciated!

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

The topic ‘Javascripts are not loading in landing page’ is closed to new replies.