Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #4445146
AMP Problems
Open

Comments

  • Robson Calefi started the conversation

    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

  •  2,963
    PenciDesign replied

    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.

  •   Robson Calefi replied privately
  •  2,963
    PenciDesign replied

    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 

    image.png

    Regards,
    PenciDesign.

  • Robson Calefi replied

    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

  •  2,963
    PenciDesign replied

    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.

  • Robson Calefi replied

    Is there any way to disable this specific shortcode so that this script “soledad-pagespeed-header” is not injected?

  •  2,963
    PenciDesign replied

    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.

  • Robson Calefi replied

    Thank you very much, it works now. How can I update this on my other sites with soledad?

  •   PenciDesign replied privately
  • Robson Calefi replied

    thank you so much. You help me a lot!! Have a nice weekend

  •  2,963
    PenciDesign replied

    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.