• Resolved rakshitsukanta

    (@rakshitsukanta)


    Hi Team,
    First of all thanks for this beautiful plugin. I know you have an addon support for newsletter subscription with AMP. Currently I am using MailOptin free plugin in my blog. When I am using In-Post newsletter form its not working in AMP pages. See this Screenshot Subscription form problem
    Is there anything we can do to make this work? If not please suggest me how I can disable this form particularly on all AMP posts. I believe some CSS code will work.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @rakshitsukanta,

    There are 2 options,
    1. you can show the forms but I am not sure upto what extent it can work and what validation issues it can throw. To enable form and some of its components you can use a filter called amp_blacklisted_tags.

    2. You can hide those forms in AMP, I don’t exactly know where those forms are, can you tell me so that I can check there classes or ids to hide them?
    You can also do this. Just check the form id or class name and Go to AMP options Panel-> Design-> Global-> Custom CSS and add the display:none for that class or id.

    Let me know if you need any more help on this.

    Thread Starter rakshitsukanta

    (@rakshitsukanta)

    I had gone for option 2 and successfully able to hide these two div classes using the following code as below:

    .mo-optin-success-msg {
    display: none;
    }
    .mo-optin-powered-by {
    display: none;
    }

    Thanks for the help ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Disable a specific div in amp posts’ is closed to new replies.