Support » Plugin: AMP » which slider plugin I should use for AMP and non AMP

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    The JetPack slideshow works in AMP, and with a bit of development work using amp-bind it’s possible to make slideshow plugins work in AMP as they do in non AMP (for slideshow plugins that don’t state AMP compatibility).

    You can also test out the amp-carousal component using the product playground.

    Thread Starter Deep Sojitra

    (@deepsojitra)

    Hi James,

    I think I can use amp-carousel, but for that I need to put custom HTML on WordPress website for amp pages, can you help me to figure out how can I put custom HTML in that, because I have checked in admin panel but couldn’t find.

    Plugin Support James Osborne

    (@jamesosborne)

    You could use the custom html block if using the default WordPress editor. You can also wrap any such content inside a div which you can have the display:none rule enabled by default.

    To ensure it displays on AMP URLs you can use the html[amp] selector.

    html[amp] divname{
    display: block;
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘which slider plugin I should use for AMP and non AMP’ is closed to new replies.