Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Lester Chan

    (@gamerz)

    I am guessing maybe you should not use the shortcode but use php code and insert it into your theme. In this way, it will not get rendered on AMP

    Thread Starter foodstyling

    (@foodstyling)

    I tried that solution, but it gives a fatal error when I put the code in index php. I am using cloud flare,could that be problem?

    Plugin Author Lester Chan

    (@gamerz)

    Did you put the code correctly, what is the code you put in? If you are not familiar with it, I would suggest hiring a dev to do it.

    Thread Starter foodstyling

    (@foodstyling)

    I could get the code <?php if(function_exists('the_ratings')) { the_ratings(); } ?>
    to work without error at the end of header.php
    Thanks for your help!

    Plugin Author Lester Chan

    (@gamerz)

    That is because of the <?php ?> code. Try to paste if(function_exists('the_ratings')) { the_ratings(); } within the body

    Thread Starter foodstyling

    (@foodstyling)

    Thanks, i’ill try

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Amp problems’ is closed to new replies.