• Resolved eatdrinkdeals

    (@eatdrinkdeals)


    I need to disable related posts for my AMP (Google Accelerated Mobile Pages) is this possible? The url always ends in /amp/ if that makes it any easier.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Barry Kooij

    (@barrykooij)

    Currently this isn’t possible but we’re looking into this.

    philwillson

    (@philwillson)

    This works in the meantime:

    Edit /templates/related-posts-default.php

    with

    <?php if ( ! is_amp_endpoint() ): ?>

    above all the code and

    <?php endif; ?>

    below all the code.

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