• David

    (@loano1)


    Hi, I really like your plugin but I noticed that on AMP Pages (generated by the official AMP WordPress plugin) the toggle titels do apper but they do not expand on click. Is there anything I can do to fix this?
    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Imtiaz Rayhan

    (@imtiazrayhan)

    Hi @loano1,

    The reason behind that is because JavaScripts are not loaded in AMP version of the pages and JavaScript is needed to open and close the toggle.

    We are working on it to make it work on the AMP pages too.

    I will let you know as soon as we make it work.

    Regards.

    Thread Starter David

    (@loano1)

    Hi @imtiazrayhan,

    Thanks for working on this. I don’t know how deep you already faamiliar witht this but there are definately solutions out there to do this in AMP.

    For example, you could solve this using “AMP Accordion”:

    amp.dev AMP Accordion

    Or probably with on=”tap:target1.actionA,target2.actionB”
    AMP also defines the hide, show and toggleVisibility actions globally that you can trigger on any HTML element.

    amp.dev AMP Actions and Events

    Best Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Content Toggle not expanding on AMP Page’ is closed to new replies.