Support » Plugin: AMP for WP - Accelerated Mobile Pages » Uncategorized Errors for AMP Structure data

Viewing 5 replies - 1 through 5 (of 5 total)
  • You are not including json correctly into your AMP page – I don’t think you need CDATA. The best way is to just put your json code before the closing body tag. You can do this using functions.php to add your json in on the specific pages you want.

    Hello @immermanalu

    I test your site on the structured data testing tool and it looks like your website is working fine without any error

    Looks like you corrected it.

    Thread Starter immermanalu


    Hi all, I just checked and no error found. I didn’t do any changes for that page but when I tested on other page like: , there’s still an error. I have no idea about this.

    When I remove the <![CDATA[<![CDATA[ and the closing ]]]]><![CDATA[>]] the page verifies with the structured data tester. You are embedding json into the body of the page and it looks like this

    <script type=”application/ld+json”>{“@context”:”http:\/\/\/”,”@type”:”BlogPosting”,”datePublished”:”2018-04-17T16:15:56+00:00″,”headline”:”Contoh Kalimat Auxiliary Verb”,”mainEntityOfPage”:{“@type”:”WebPage”,”@id”:”https:\/\/\/contoh-kalimat-auxiliary-verb\/”},”author”:{“@type”:”Person”,”name”:”Smart English”},”publisher”:{“@type”:”Organization”,”name”:”Smart English”,”logo”:{“@type”:”ImageObject”,”url”:”https:\/\/\/wp-content\/uploads\/2018\/02\/review.png”,”width”:600,”height”:60}},”dateModified”:”2018-04-17T16:19:06+00:00″,”image”:{“@type”:”ImageObject”,”url”:”https:\/\/\/wp-content\/uploads\/2018\/04\/Contoh-kalimat-auxiliary-verb.jpg”,”width”:600,”height”:300},”name”:”Contoh Kalimat Auxiliary Verb”,”Review”:{“@type”:”Review”,”name”:”Contoh Kalimat Auxiliary Verb”,”author”:{“@type”:”Person”,”name”:”Smart English”},”datePublished”:”2018-04-17T16:15:56+00:00″,”reviewRating”:{“@type”:”Rating”,”ratingValue”:”4.9″}}}</script>.

    It is sitting just above your title “More English topics”. You either have that in the html or it is being placed for some reason due to the quickadsense plugin. Turn that plugin off to test. If the structured testing error goes away then it is down to a plugin conflict. If the errors remain then it is somewhere on your page html or another plugin conflict.

    • This reply was modified 3 years, 3 months ago by frenchomatic.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Uncategorized Errors for AMP Structure data’ is closed to new replies.