Not working with AMP for WP
-
Hello..
This plugin is not working with AMP for WP. Please make a solutionThe page I need help with: [log in to see the link]
-
Hi @civilenggnotes,
I tested again and I had no problems. Did you follow the AMP guide in the documentation and overrode the Blacklist Sanitizer in the AMP for WP plugin?
Otherwise it seems that AMP for WP plugin also has an extension for Rate my Post: https://ampforwp.com/compatibility/rate-my-post/. Maybe it’s made so that overriding is not required. That I don’t know π
Regards,
BlazPreviously i faced a similar problem, then i got a sanitizer code. I created that and still it is installed
I don’t have budget for extension. So i can not buy it
It is not solved yet… please give the solution. I can send you the sanitizer code
You can use this plugin to disable sanitizer in AMP for WP plugin. https://github.com/blaz-blazer/amp-for-wp-disable-sanitizer
Regards,
BlazI got there php files and some readme files.. what to download??
Hello Blaze. I have the same problem.
Your plugin works on the AMP pages, but there are no <!–Structured data –> <script type=”application/ld+json”> on the page.
If you compare the examples that the author of the post indicated:
1. AMP – https://www.civilenggnotes.in/development-length-calculation-as-per-indian-code/amp/
2. NOT-AMP https://www.civilenggnotes.in/development-length-calculation-as-per-indian-code/
the code below is removed from the AMP page and i don’t know why:
“<script type=””application/ld+json””>”{
“@context”:”http://schema.org”,
“@type”:”Book”,
“aggregateRating”:{
“@type”:”AggregateRating”,
“bestRating”:”5″,
“ratingCount”:”17″,
“ratingValue”:”4.4″
},
“image”:”https://www.civilenggnotes.in/wp-content/uploads/2018/12/development-length.jpg”,
“name”:”Development Length Calculation as per Indian Code”,
“description”:”Development Length Calculation as per Indian Code”
}”</script>”-
This reply was modified 5 years, 4 months ago by
hoakinn25.
Hello,
I installed the sanitizer plugin provided by the author of the plugin. Now it is solved.Hello. As it turned out, there are no problem.
I thought that the page must have json code to display a beautiful snippet. I checked your page and it’s AMP version
https://www.civilenggnotes.in/how-to-calculate-load-for-design-of-rcc-structures/
https://www.civilenggnotes.in/how-to-calculate-load-for-design-of-rcc-structures/amp/And although there is no code on the AMP page, a beautiful snippet is still displayed in the search results – http://joxi.ru/a2X40ybhw9wXx2
Probably this data is taken from a NON AMP page.
-
This reply was modified 5 years, 4 months ago by
The topic ‘Not working with AMP for WP’ is closed to new replies.