Title: Not compatible with WordPress AMP Plugin
Last modified: October 4, 2016

---

# Not compatible with WordPress AMP Plugin

 *  [pako69](https://wordpress.org/support/users/pako69/)
 * (@pako69)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/not-compatible-with-wordpress-amp-plugin/)
 * Hi
 * The AMP error is:
    “The attribute ‘href’ in tag ‘link rel=stylesheet for fonts’
   is set to the invalid value ‘//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/
   3.3.7/css/bootstrap.css’.”
 * Trying to valide a post like this one: [https://www.sqli-carrieres.com/emploi/system-engineer-senior/amp/](https://www.sqli-carrieres.com/emploi/system-engineer-senior/amp/)
 * With AMP Validator: [https://validator.ampproject.org/#url=https%3A%2F%2Fwww.sqli-carrieres.com%2Femploi%2Fsystem-engineer-senior%2Famp%2F](https://validator.ampproject.org/#url=https%3A%2F%2Fwww.sqli-carrieres.com%2Femploi%2Fsystem-engineer-senior%2Famp%2F)
 * Maybe that help > [https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#author-stylesheets](https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#author-stylesheets)
 * Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/not-compatible-with-wordpress-amp-plugin/#post-8283621)
 * This validation error states “link rel=stylesheet for fonts” … but it’s not a
   link for fonts, it’s a Stylesheet link. Not quite sure what to suggest.
 * Actually, this is the problem:
    [http://stackoverflow.com/questions/36120632/accelerated-mobile-pages-link-to-css-file](http://stackoverflow.com/questions/36120632/accelerated-mobile-pages-link-to-css-file)
 * If you’re using a plugin to generate your amp pages, try setting on the option
   within our plugin to use the WordPress enqueue method.
    -  This reply was modified 9 years, 7 months ago by [Paul](https://wordpress.org/support/users/paultgoodchild/).
    -  This reply was modified 9 years, 7 months ago by [Paul](https://wordpress.org/support/users/paultgoodchild/).
 *  Thread Starter [pako69](https://wordpress.org/support/users/pako69/)
 * (@pako69)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/not-compatible-with-wordpress-amp-plugin/#post-8283715)
 * Hi
    I know nox why I get this error (because I recently had it eslwhere), it’s
   because the AMP validator do not “like” this URL syntax: `//cdnjs.cloudflare.
   com/.......` II it was: `https://cdnjs.cloudflare.com/..........` That validation
   will be ok…
 * I had the same issue in another website and change ‘//…..’ to ‘[http://&#8230](http://&#8230);..’
   and it works
 *  Thread Starter [pako69](https://wordpress.org/support/users/pako69/)
 * (@pako69)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/not-compatible-with-wordpress-amp-plugin/#post-8283840)
 * Sorry I talk to fast!
    The issue I was talking about url without http do no concern
   your plugin…
 *  Thread Starter [pako69](https://wordpress.org/support/users/pako69/)
 * (@pako69)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/not-compatible-with-wordpress-amp-plugin/#post-8283897)
 * The “Not recommended- Use native WordPress CSS enqueue for Bootstrap files.” 
   works to validate the page, but I do not like to use something that is no recommanded…
   
   My posts seems to work good but I do no not what other issue I could get with
   that enabled… Thanks
 *  Plugin Author [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * (@paultgoodchild)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/not-compatible-with-wordpress-amp-plugin/#post-8283945)
 * When we say “not recommended”, we say this to ensure that most people don’t use
   the option and then wonder why it doesn’t work like they expect.
 * If you can say that your site loads and looks correctly with this option enabled,
   then you can use this option.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Not compatible with WordPress AMP Plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-bootstrap-css_d0f2fd.svg)
 * [Twitter Bootstrap for WordPress](https://wordpress.org/plugins/wordpress-bootstrap-css/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-bootstrap-css/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-bootstrap-css/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-bootstrap-css/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-bootstrap-css/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-bootstrap-css/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Paul](https://wordpress.org/support/users/paultgoodchild/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/not-compatible-with-wordpress-amp-plugin/#post-8283945)
 * Status: not resolved