rajk748
Forum Replies Created
-
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] AMP page is invalidThanks a lot. Will wait for the update.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] AMP page is invalidThis may be unrelated but I recently added this css to my theme for Dropcap on desktop.
.post p:first-child:first-letter {
float: left;
font-size: 6em;
padding-right: .1em;
font-family: Dancing Script, serif;
line-height: .9;
color: firebrick;
}I don’t think it should affect the AMP part. For AMP I am using the Dropcap option in AMP for WP and it’s working great.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] AMP page is invalidForum: Plugins
In reply to: [Cloudflare] Version 3.8.1 made my site crash…3.8.2 works. Thanks for the quick fix.
Thanks and I agree. AMP validation shows no problems. Also, Adsense shows AMP is ON and still no ads on AMP pages. Not sure what’s happening here.
After last update of AMP for WP, I have started all validations again. Will update when they reply.
Okay so Google says that 6 pages are still affected by the issue.
Apart from this, it has found 5 more issues.
Tag found outside the document head which is only allowed as a direct child of the document head.
The parent tag of tag ‘html’ must be ‘!doctype’.
Tag or text which is only allowed inside the body section found outside of the body section.
A mandatory AMP HTML tag is missing from this document.
Only amp-boilerplate and amp-custom ‘style’ tags are allowed, and only in the document head.Sure, I will. Meanwhile, ads have stopped showing up on AMP pages without any changes to the codes.
I checked. That code is for non-AMP pages. I am using a plugin to insert that in Header. Not sure why it should give error for AMP. This is the code.
<script async src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: “ca-pub-5213264838754169”,
enable_page_level_ads: true
});
</script>I am using auto ads feature in AdSense and for AMP I am following option No 3 in your tutorial.
https://ampforwp.com/tutorials/article/how-to-set-auto-ads-in-amp/
Update : Google has started validation again. Let us see what it says.
I ran the validation again and it says there are still affected pages.
Great. Thanks a lot!
Update : Now ads are showing on AMP pages but the error still shows up.
Great. I was not sure if AMP for WP would work for multisite but it works flawlessly. Thanks for making this wonderful plugin!
Google finally sent an email that they have validated the issue and it has been fixed. Thanks a lot for your help.
- This reply was modified 4 years, 9 months ago by rajk748.
Forum: Plugins
In reply to: [AMP for WP - Accelerated Mobile Pages] Increase font size of textThat worked well. Thanks a lot!
- This reply was modified 4 years, 9 months ago by rajk748.
I have the same issue with 19 pages showing error. Also using Swift theme.
AMP HTML Tag has an invalid layout specified by its attributes.
Example : https://rajksite.com/on-every-street-dire-straits-and-the-magic-of-poetry/amp/- This reply was modified 4 years, 9 months ago by rajk748.