Support » Plugin: AMP » How to use amp-accordion on AMP pages

  • Resolved Mostafiz Shamim

    (@itzmostafiz)


    I was using Shortcode ultimate plugin for accordion/spoiler. But after using the AMP plugin, the collapsing system does not work and does not open the answer. Can you suggest me any solution to add accordions directly from my post editor/page editor?

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

    (@jamesosborne)

    There are a few different accordion plugins or blocks you can use. If you’re using JetPack or Genesis Blocks there are accordion features that work in AMP and non AMP alike. They make use of the AMP-accordion component.

    If you prefer to manually create your own AMP accordion you can implementing using the amp-accordion component after testing out your own markup using the related playground.

    For your existing plugin you can also reach out to the developer and enquire about AMP support.

    Thread Starter Mostafiz Shamim

    (@itzmostafiz)

    Is there any way to use the amp accordion in WP classic editor?

    Plugin Support James Osborne

    (@jamesosborne)

    If using the classic editor have you tried using the amp-accordion playground to write your markup?

    If you copy and paste the body content of the playground after your own modifications into your site while viewing in HTML mode.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.