Support » Plugin: Starbox - the Author Box for Humans » Problems with AMP pages

  • Hi!

    I’m using starbox on one of my pages and when I set up AMP (have a lot of mobile users) I got warnings from Google Search Console about AMP-errors.
    Apparently Starbox injects code at the top of the page, before the HEAD-tag.
    See example at the end of this post.
    I use AMP by Automattic and AMP for WP.

    Thanks in advance!

    /Peter

    Example from Google AMP-test:
    <link rel=’stylesheet’ id=’frontend.css-css’ href=’https://www.prepperse.se/wp-content/plugins/starbox//themes/fancy/css/frontend.css?ver=3.0.6′ type=’text/css’ media=’all’ />
    <script type=’text/javascript’ src=’https://www.prepperse.se/wp-includes/js/jquery/jquery.js?ver=1.12.4′></script>
    <script type=’text/javascript’ src=’https://www.prepperse.se/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1′></script>
    <script type=’text/javascript’ src=’https://www.prepperse.se/wp-content/plugins/starbox//themes/fancy/js/frontend.js?ver=3.0.6′></script>
    <!doctype html>
    <html amp lang=”sv-SE”>
    <head>
    <meta charset=”utf-8″>
    <link rel=”dns-prefetch” href=”https://cdn.ampproject.org”>

Viewing 2 replies - 1 through 2 (of 2 total)
  • tjcinsf

    (@tjcinsf)

    I have the exact same problem — on AMP pages, the Starbox plugin inserts code above the doctype, causing Google Search Console errors.

    Any ideas how to fix this? Or even how to turn off Starbox on AMP pages?

    redb68

    (@redb68)

    SAme here. EMERGENCY !

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problems with AMP pages’ is closed to new replies.