• Hi! Is it possible for a specific block in WordPress only to be served to the visitor on the non-AMP version of the page? Thank you in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    Can you please tell me more details regarding your issue?

    Thread Starter siebren10

    (@siebren10)

    Hi Ahmed,

    A piece of content within an article is made to look good with custom CSS. It is a table from Affiliatable. However, the custom CSS is too much to serve within the plugin and then it looks hidious when the piece of content is served without the added CSS.

    So, is it possible for the block with the table to only be served on the non-AMP version of a page? And otherwise, just not be shown to visitors.

    Warm regards,
    Siebren

    Plugin Author Ahmed Kaludi

    (@ahmedkaludi)

    If you want to show/hide AMP on a particular page or post then please follow this tutorial: https://ampforwp.com/tutorials/article/hide-amp-posts-pages/

    Thread Starter siebren10

    (@siebren10)

    Hi Ahmed,

    Thank you for the help, but I mean specifically to hide a block in the AMP-version of a post. I do not wish to disable AMP for the entire post.

    Warm regards,
    Siebren

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Is is possible to only serve a block on the non-AMP version of a page?’ is closed to new replies.