Mohammad Jangda
Forum Replies Created
-
Forum: Plugins
In reply to: [AMP] Conflict with A3 Lazy Load blocks images from appearingYou will probably need to disable A3LL just for AMP pages. AMP already lazy loads all media.
Forum: Plugins
In reply to: [AMP] amp_frontend_add_canonicalWhere is this error being reported? The
amphtmlvalue is part of the new AMP spec.Forum: Plugins
In reply to: [AMP] AMP Plugin active, but…What’s the full error message? Can you share a screenshot of the error and the URL for your site?
Forum: Plugins
In reply to: [AMP] Featured image not workingIt depends on how your CDN is set up for your WordPress site. If it hooks into core WordPress function and replaces URLs with the CDN versions, it should just work, otherwise you may need to manually generate the CDN URL and use that instead of the
get_the_post_thumbnailfunction.Forum: Plugins
In reply to: [AMP] AMP Pages Missing LogoYou can add a site icon: https://github.com/Automattic/amp-wp/blob/master/readme.md#site-icon
Forum: Reviews
In reply to: [AMP] good jobThanks for the review! Yes, unfortunately, there is some work involved for users to get customizations like custom fields working.
Forum: Plugins
In reply to: [AMP] New error on Console : layout CONTAINER not supported0.3 should fix the validation error but the smileys end up really big. I’ve added an issue here: https://github.com/Automattic/amp-wp/issues/204
Forum: Plugins
In reply to: [AMP] New error on Console : layout CONTAINER not supportedFor all smileys or just some of them?
Forum: Plugins
In reply to: [AMP] PHP Notice after enabling pluginThis should be fixed with v0.3. Can you check again and let me know?
Forum: Reviews
In reply to: [AMP] Shortcodes Are Not Supported?Are you using custom post types or testing with Pages? For those, you need to explicitly add support https://github.com/Automattic/amp-wp/blob/master/readme.md#custom-post-type-support
Forum: Reviews
In reply to: [AMP] Made no difference at allThanks for the review!
Note that the plugin doesn’t automatically redirect mobile visitors to AMP content; it just generates it for you. AMP content will be displayed to users by consumer/viewer apps like Google Search and Nuzzel.
Would also love to get more details on what specifically it’s slowing down so we can fix that.
Forum: Plugins
In reply to: [AMP] DIV not recognisedThe AMP spec does not allow
styleattributes in elements.One option would be to write a custom Sanitizer class that coverts that
divinto one with a class and then move the style to CSS instead.Alternatively, replace all these divs in your existing content to have a
classattribute.Forum: Plugins
In reply to: [AMP] Template tweaksIf you have a custom theme or your own child theme, then yes, they can go in functions.php. (If your theme is from the Theme Directory or one that has updates, you don’t want to do this since you will lose the changes if you update the themes.)
Alternatively, you can add them to mu-plugins or your own custom plugin.
Forum: Plugins
In reply to: [AMP] Getting errors on google wmtYes. We will also push out a new version this week.
Forum: Plugins
In reply to: [AMP] W3 Total Cache – Browser Cache IssueThat’s probably something to handle in W3TC / Cloudflare. They may have an option to ignore certain scripts.