• Resolved jeff@exitshoes.com

    (@jeffexitshoescom)


    Using the version 14.9.12 of cforms2 and including captcha on a form, the image displays in the admin interface, but not on the form.

    I use a javascript deferred loading plugin to optimize the pages, but this seems to create a problem for the jquery loading of the captcha image. Disabling the plugin “WP deferred javaScript” does allow the Captcha image to show.

    To test, install “WP deferred javaScript” Enable/Disable.

    However the admin page is setup (cformsII->Global Settins), it works with deferred loading. Can that be done for regular form pages too?

    Thanks,

    Jeff

    https://wordpress.org/plugins/cforms2/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bgermann

    (@bgermann)

    You see correct behaviour in admin area, because that plugin does not change the JavaScript loading there. cformsII uses wp_enqueue_style('dashicons') for the icon in a wp_enqueue_scripts action context. This is the way one should enqueue styles. You should ask in the WP deferred javaScript support forum.

    Thread Starter jeff@exitshoes.com

    (@jeffexitshoescom)

    Thanks. Your suggestion leads me to believe this is probably legacy theme related. I’ll have a look at updating the theme to handle enqueueing.

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

The topic ‘Deferred js loading stops Captcha image’ is closed to new replies.