Support » Plugin: AMP for WP - Accelerated Mobile Pages » Hide prev/next on AMP pages only (not posts)

  • Resolved berchman

    (@berchman)


    Hi,

    Plugin is working great.

    However I want to “hide” previous/next links at the bottom of pages, but NOT hide it at the bottom of posts.

    Right now previous/next links display on all pages.

    I looked at a CSS solution, but there are no classes or id’s that are specific to the page within the HTML so I cannot selectively target the previous/next navigation at the bottom of pages.

    Do you have a way to do this?

    Let me know if you have any questions.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor ampforwp

    (@ampforwp)

    Hi @berchman,

    Thank you for your suggestion.
    Right now this option this option is not available.
    We have created a ticket about it in our Github and we will add this in next updates.(REF)

    Regards,
    Team AMP

    Excellent! Thanks for the quick reply and update. Looking forward to the fix in the update.

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi @berchman,

    We have fixed it and it will be added in our next update(ref).
    After the update add this css code in Custom CSS option.
    .amp-single-page #pagination { display: none; }

    I hope it helps.

    Regards,
    Team AMP

    Plugin Contributor ampforwp

    (@ampforwp)

    Hi @berchman,

    We have updated the plugin.
    Please update the plugin to the latest version and let us know if you are facing any problems or not.

    Thanks

    Regards,
    Team AMP

    berchman

    (@berchman)

    This looks to be working really well!

    Thanks for being so responsive to our needs.
    Really appreciate the attention and for taking care of this so quickly.

    Thanks!!

    Plugin Contributor ampforwp

    (@ampforwp)

    Hey @berchman,

    Thanks for your feedback. 🙂

    If you like our plugin and its support, please leave us a 5-star review. This will help us a lot to improve ourselves more.

    Regards
    Team AMP

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hide prev/next on AMP pages only (not posts)’ is closed to new replies.