Support » Plugin: HD Quiz » Question font color white when mobile browser

Viewing 1 replies (of 1 total)
  • Plugin Author Harmonic Design

    (@harmonic_design)

    Hi eijkb,
    I just took a look and the problem is that the link is redirecting to an AMP page. AMP pages do not load javascript and other necessary files that would be required to run a quiz.

    The URL that twitter has is: t.co/K7rNwtivUS?amp=1
    The bolded ?amp=1 at the end of the URL is what is causing mobile users to be redirected to AMP pages. Removing that will successfully show the real live page.

    Twitter is doing this automatically because either your theme, or another plugin you are using is explicitly labelling the site as AMP.

    
    <link rel="amphtml" href="http://hetiskoers.nl/doe-de-seizoen-2019-wielerquiz-2/amp/">
    <script type="text/javascript">
      var doc = document.documentElement;
      doc.setAttribute( 'data-useragent', navigator.userAgent );
    </script>
    

    I wish I could be of more help, but this is something you will need to fix in your theme, or whatever other plugin you are using that controls this. See if there is an “excludes” setting where you can exclude quiz pages from this autoredirection (this won’t fix those past twitter links though), or disable amp on those pages altogether.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.