• Resolved Shobha2208

    (@shobha2208)


    I am having an issue with the WP Forms Lite. I have set up their own SMTP also correctly and am receiving emails when testing. But the form on my contact page at [ redundant link removed ] is just showing a word “Sending …” at the bottom endlessly with calling up the confirmation message.

    This happening both on laptop and mobile. The Standard option is set now in AMP Please help.

    The email test is okay and the form is sending emails okay when AMP is deactivated. problem seems to be only when WP Forms Lite is in conjunction with AMP.

    • This topic was modified 3 years, 4 months ago by Shobha2208.
    • This topic was modified 3 years, 4 months ago by Shobha2208.
    • This topic was modified 3 years, 4 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @shobha2208

    I am debugging the issue, meanwhile can you please share the WP Forms Lite plugin version.

    Thread Starter Shobha2208

    (@shobha2208)

    Hi Milind:

    The WP Forms Lite plugin version is Version 1.6.7.3

    Shobha

    Plugin Support Milind More

    (@milindmore22)

    Hello @shobha2208

    Thank you for your patience, It seems the WPForms works specifically with only AMP-compatible themes.

    But we can bypass that theme check by adding the following code in themes functions.php

    You can add code the same way we added previous topic

    Step 1 Goto -> Appearance -> Theme Editor and select functions.php file
    (screenshot)

    Step 2 Scroll Down at end of the file and add the code below

    /**
     * By-Pass AMP Theme Compatibility check for WPForms.
     *
     * @param boolean $amp_check Check if AMP endpoint.
     * @return boolean
     */
    function bypass_amp_check_for_theme( $amp_check ) {
    
    	if ( function_exists( 'amp_is_request' ) && amp_is_request() ) {
    		$amp_check = true;
    	}
    
    	return $amp_check;
    }
    
    add_filter( 'wpforms_is_amp', 'bypass_amp_check_for_theme' );

    Let me know if you face any further issues.

    Thread Starter Shobha2208

    (@shobha2208)

    Milind: You are a genius! It works brilliantly both in laptop and mobile. Plus so fast! Amazing really!

    Thanks so much.

    I have one more tiny query to ask, On my homepage, there is a main image at the very top. It is supposed to fill the container to the same width as the green title bar on top of it.

    Currently I am have enlarged the image dimensions, using width and height dimensions in absolute numbers and not as percentages. It seems ok on laptop and mobile. But is this the correct way to give absolute height and width instead of percentages? If I give percentages, or don’t change the dimensions of the image fromits original size, the picture shrinks inside the widget.

    Thanks again and again!

    • This reply was modified 3 years, 4 months ago by Shobha2208.
    • This reply was modified 3 years, 4 months ago by Shobha2208.
    Plugin Support Milind More

    (@milindmore22)

    Hello @shobha2208

    Glad forms are working, Yes it’s the correct way to fix the image issue, no need to add it in percentage.

    Thread Starter Shobha2208

    (@shobha2208)

    Everything is working splendidly now. I envy all techies like you!

    Is there any way to add a popup in AMP?

    Mt page speed is 90 in mobile and 98 in laptop. I am absolutely thrilled!

    • This reply was modified 3 years, 4 months ago by Shobha2208.
    Plugin Support Milind More

    (@milindmore22)

    Since this has been fixed, I’ll mark this as resolved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WP Forms Lite stuck saying “Sending …” though test emails working’ is closed to new replies.