Support » Plugin: WP Post Popup » Contact Form 7 issue

  • Resolved boombalaya

    (@boombalaya)


    Hello! this is a great plugin and so far I have managed to include all the contents I want inside the modal. My only problem now is that I am trying to include a Contact Form using Contact Form 7 and there seems to be a conflict because the information is not getting sent. Clicking “submit” does nothing. I am guessing there is a JS issue but I can’t figure it out. Is this a known issue? is there a workaround? The form works alright outside of the modal! Thank you.

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

    (@allurewebsolutions)

    Thank you for the feedback, boombalaya!

    With the version 2.0 release we’re using the WP REST API to get the content. However, it still doesn’t work with CF7.

    I will look for a solution.

    Plugin Author allurewebsolutions

    (@allurewebsolutions)

    I can only think of a workaround.

    Using this plugin to disable AJAX and create a thank you page for CF7: https://wordpress.org/plugins/contact-form-7-extras/

    Add this code after line 115 of the plugin file public/js/wp-post-modal-public.js

    if ($('.wpcf7-form')[0]) {
        $('.wpcf7-form').attr('action', postLink + '/#' + $('.wpcf7').attr('id'));
    }
    Plugin Author allurewebsolutions

    (@allurewebsolutions)

    Closing due to no response in over 2 weeks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Contact Form 7 issue’ is closed to new replies.