Viewing 13 replies - 1 through 13 (of 13 total)
  • Omeprazol

    (@omeprazol)

    You can also check in the developer console for errors by adding: #development=1 to your URL. Did you check there for validation errors too?

    Thread Starter nnckhnrn

    (@syphx)

    Sorry Omeprazol, I don’t understand your answer, I’m not too comfortable with tech things -__-‘

    Can you share a link to your site?

    Thread Starter nnckhnrn

    (@syphx)

    Thread Starter nnckhnrn

    (@syphx)

    Oh, I see an update for the plugin (0.3.1), I install it!

    I think another plugin, maybe WP-Rocket is stripping the scheme (https:) from the stylesheet URL, which is breaking validation:

    <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Merriweather:400,400italic,700,700italic%7COpen+Sans:400,700,400italic,700italic" />

    leads to this error:

    The attribute 'href' in tag 'link rel=stylesheet for fonts' is set to the invalid value '//fonts.googleapis.com/css?family=Merriweather:400,400italic,700,700italic%7COpen+Sans:400,700,400italic,700italic'. (see https://github.com/ampproject/amphtml/blob/master/spec/amp-html-format.md#custom-fonts)
    Thread Starter nnckhnrn

    (@syphx)

    OK, I deactivate WP-Rocket, can you check again?

    The theme (Valenti, premium) use Google fonts (like Francois One for example).

    Looks much better now!

    Thread Starter nnckhnrn

    (@syphx)

    It works? Great!

    I will prevent WP Rocket’s developers for this conflict.

    Thread Starter nnckhnrn

    (@syphx)

    OK, it seems that you just uncheck the Google Fonts’s minification in WP Rocket’s settings and it works.
    Can you re-check, please?

    https://img15.hostingpics.net/pics/380079Capturedecran20160225a094825.png

    The font error is gone! There is another error which we will fix in the plugin: https://github.com/Automattic/amp-wp/issues/253

    WP Media

    (@wp_media)

    Hi,

    I’m Jonathan from WP Rocket.

    We’ve just released WP Rocket 2.6.16 which is now 100% compatible with the AMP plugin.

    Have a nice day ??

    gianpy81

    (@gianpy81)

    Hi! I have some error with AMP: https://hpics.li/f7027d6.

    I do not have WP Rocket plugin installed.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Issues with Google’ is closed to new replies.