I'm having an amp validation error in Google Search Console with my webstories. The Penci Soledad theme is injecting this script into the webstories, which is being considered invalid. How can I remove this script? Can you help me? Attached are three images showing what happened:
1. The original script;
2. The code with the script pasted into https://validator.ampproject.org/;
3. The code without the script pasted into https://validator.ampproject.org/.
The error occurs in my webstories. In all webstories, the theme inserts the javascript that appears in the first image I uploaded. This way, Google warns that my webstory does not appear in the search. When I test in ampvslidator and remove the javascript, the error is fixed. The right way to test the error is https://bolsaemercado.com.br/webstory/this-is-a-test/
I noticed that the FAST WEB STORY plugin you installed is not compatible with the default Penci Shortcode & Performance plugin, which causes Google to flag it as invalid when checked with the validator tool.
I’ve modified the Penci Shortcode & Performance plugin to make it compatible with the FAST WEB STORY plugin. Please clear all browser caches and check again.
I'm having an amp validation error in Google Search Console with my webstories. The Penci Soledad theme is injecting this script into the webstories, which is being considered invalid. How can I remove this script? Can you help me? Attached are three images showing what happened:
1. The original script;
2. The code with the script pasted into https://validator.ampproject.org/;
3. The code without the script pasted into https://validator.ampproject.org/.
Attached files: 1.jpg
2.jpg
3.jpg
Hi,
For this case, please send me your WordPress admin account in a PRIVATE reply.
I'll log in and try to help you check this problem.
Regards,
PenciDesign.
Hi,
You pasted the wrong code into the AMP validator, so it always shows as failing. Please enter the AMP URL and validate it. Here is an example—I’ve checked and it has already passed: https://search.google.com/test/amp/result?id=4IDm-l96eO2HAsXMApf2NA
Regards,
PenciDesign.
The error occurs in my webstories. In all webstories, the theme inserts the javascript that appears in the first image I uploaded. This way, Google warns that my webstory does not appear in the search. When I test in ampvslidator and remove the javascript, the error is fixed. The right way to test the error is https://bolsaemercado.com.br/webstory/this-is-a-test/
i
Attached files: IMG_2551.jpeg
Hi,
I noticed that the FAST WEB STORY plugin you installed is not compatible with the default Penci Shortcode & Performance plugin, which causes Google to flag it as invalid when checked with the validator tool.
If you want to create a web story, I recommend using the official Web Stories plugin from Google: https://wordpress.org/plugins/web-stories/
Soledad fully supports this plugin, and you can also insert web stories via the Elementor Page Builder.
Regards,
PenciDesign.
Is there any way to disable this specific shortcode so that this script “soledad-pagespeed-header” is not injected?
Hi,
I’ve modified the Penci Shortcode & Performance plugin to make it compatible with the FAST WEB STORY plugin. Please clear all browser caches and check again.
Regards,
PenciDesign.
Thank you very much, it works now. How can I update this on my other sites with soledad?
thank you so much. You help me a lot!! Have a nice weekend
Hi,
Thank you!
If you’re satisfied with our support, could you take a moment to rate us on ThemeForest? Your feedback means a lot to us.
If you have any other questions, please feel free to let me know.
Regards,
PenciDesign.