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

    (@jmviade)

    Hello, Orixes,

    I’ve been reviewing the HTML code of your site and it looks like if there were not any call to wp_footer() or wp_footer action because there is not any script at the end of the page and all scripts of this plugin are added at the end of the HTML pages.

    Please, check if, efectively, the call to get_footer(), wp_footer() or wp_footer action is correctly done, habitualy inside the footer.php file or if in general, the script output at the end of page works properly.

    Checking your HTML code, I have seen that

    * The output of ‘styles’ of the plugin works properly,
    * the id’s configuration is standard,
    * There is not any javascript notice or warning in the console

    therefore the plugin begins to work but I coudn’t see any script at the end of page.. so I think that the problem is that the call to the wp_footer() is suppressed in your theme.

    The last lines of any standard WP footer.php file should be like this…

    /*———————————— */

    ….
    ….
    <?php wp_footer(); ?>
    </body>
    </html>

    /*———————————— */

    Please, check these points, check if any other plugin interrupts the front-end execution of wp_footer action and say to me something about it.

    Best regards,

    Joan Miquel Viadé

    Thread Starter orixes

    (@orixes)

    Ok, thank you.

    May be because it’s a wordpress integrated in prestashop through a plugin the reason that wp_footer call is omitted.

    Studyin the plugin to prevent some incompatibilites seems to be the reason that wp_footer callback is missetd, so, can I activate the recaptcha plugin without calling wp_footer? Which comands should I load manually to get it working?

    Thanks in advance for your answer

    Kind regards

    Plugin Author jmviade

    (@jmviade)

    It’s not so easy, I’m sorry. because the position of the javascripts files is rellevant however, if you want to test it, I supposse that you could change the wp_enqueue_script() / wp_register_script() functions and to change the parameter “in footer” to false notwithstanding, and sincererly, as wp-footer() is a standard and necessary action, not just for my plugin, else tant most of them use it, I suggest, instead of to modify my plugin, to add this simple line

    wp_footer();

    in footer.php file or, in general, at the end of the HTML output execution.

    In any case, I’ll study this question for futures releases.

    Best regards,

    Joan Miquel Viadé
    PD. With your permision, and if there is not more additions in the next 24 hours, I’ll close the topic. ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘reCaptcha on WP does not show’ is closed to new replies.