Mohammad Jangda
Forum Replies Created
-
Forum: Plugins
In reply to: [AMP] AMP Validation Errors NEW Version 0.4Looks like both errors are related to the
xmlns
attribute, so removing that from the AMP output should fix the validation. It’s likely another plugin that’s injecting the attribute via thelanguage_attributes
filter.Forum: Plugins
In reply to: [AMP] AMP Validation Errors NEW Version 0.4The xmlns attribute is likely being added by another plugin.
Can you share a link to an amp article on your site?oh sorry, just noticed the validator link.- This reply was modified 8 years ago by Mohammad Jangda.
Forum: Plugins
In reply to: [AMP] Possible bug: view comments, when disabledPossible fix here: https://github.com/Automattic/amp-wp/pull/517
Forum: Plugins
In reply to: [AMP] The normal version of my website is faster than this version of AMP !What are those numbers?
Forum: Plugins
In reply to: [AMP] Missing URL for attribute ‘src’ in tag ‘amp-img’.0.4 has this fix.
You should have your authors use oEmbed instead (i.e. put the instagram URL on its own line). That will work for regular content and AMP.
Forum: Plugins
In reply to: [AMP] Still have /amp/ URLs after deleting the pluginThere’s a fix for this in https://github.com/Automattic/amp-wp/pull/514 that will go out with 0.4
Forum: Plugins
In reply to: [AMP] AMP installed & activated, see no difference on mobile deviceFrom the readme: “This plugin only creates AMP content but does not automatically display it to your users when they visit from a mobile device. That is handled by AMP consumers such as Google Search. For more details, see the AMP Project FAQ (https://www.ampproject.org/docs/support/faqs.html)”
Forum: Plugins
In reply to: [AMP] Cannot redeclare amp_activateLooks like wptouch also has AMP support, in which case, you’re better off just using that plugin instead (presumably you’re using it already for your mobile site)?
Forum: Plugins
In reply to: [AMP] Lots of src errorThe change you noted will remove all images from your site. We have a better fix for this in 0.4 (images with an empty src are no longer included on the page).
Forum: Plugins
In reply to: [AMP] Actual AMP URL is different from URLWhat is your permalink structure set to? (i.e. the value at Settings > Permalinks)
Forum: Plugins
In reply to: [AMP] Custom CSS for AMPv0.4 restores the use of Google Fonts. I would not recommend moving moving these locally though for two reasons:
1) The pages may not longer validate correctly.
2) You lose any of the benefits that using the AMP/Google CDNs provide.Forum: Plugins
In reply to: [AMP] tel link issue: AMP_Blacklist_Sanitizer class validate_a_node funcOh, that’s a fun bug ??
We’ve got a fix for that here: https://github.com/Automattic/amp-wp/pull/513
Forum: Plugins
In reply to: [AMP] Function to disable AMP on specific postadd_filter( 'amp_skip_post', 'twistermc_amp_skip_quiz_posts', 10, 3 ); function twistermc_skip_amp_post( $skip, $post_id, $post ) { if ( has_tag( 'quiz', $post_id ) ) { $skip = true; } return $skip; }
Forum: Plugins
In reply to: [AMP] Installing Analytics