Jan Pencik
Forum Replies Created
-
Forum: Plugins
In reply to: [AMP] WPForms – Failed to parse response JSONWell, I managed to fix the issue. You won’t believe me what was causing the problem ??
So first of all I found out that the theme is the problem. I created fresh WP installation and added both plugins there to test it out. Everything was working with default Twenty Twenty-One theme. My custom theme wasn’t.
I tried to copy things from default theme to my theme to figure out if I am not missing any needed feature. I copied every extra feature from functions, header and footer but it was still not working. So I tried opposite approach… I started to delete everything from Twenty Twenty-One theme until I had super bare bones skeleton of basic HTML tags, blank functions.php and the form was still working on default theme. When I copied the same skeleton to my custom theme, it wasn`t working.
And now comes the workaround. I found out that the form is working only if I rename my theme to the same name as one of the default themes has. This includes theme folder + Theme Name and Text Domain in style.css – then it’s working without any issues. I tested both on localhost and testing server for Twenty Nineteen and Twenty Twenty-One and both names were working. On the other side I tried different other names of the theme (one word, two words) to mimic the name of default WP themes and wasn’t successful.
Thanks, Renee, for your help – I think I am fine with this workaround for now ??
Forum: Plugins
In reply to: [AMP] WPForms – Failed to parse response JSONHi Renee, thanks for your reply. No validation errors on those pages. Setting website to Transitional Mode solves the issue, but is not a solution for me. I need to run all pages in standard AMP mode.
Forum: Plugins
In reply to: [AMP] WPForms – Failed to parse response JSONOh, forgot to include URL. Edited previous post. The form is on the bottom of the page.
- This reply was modified 4 years, 2 months ago by Jan Pencik.
Thank you very much!
I have exactly same problem. All of widgets used in custom sidebar is not copying css properly.
Forum: Plugins
In reply to: [Widget for Social Page Feeds] TranslationHey, just open fb.js and replace the en_US with language code of your country. The line originally looks like this:
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId="+appid;
John