• Wace

    (@wace)


    Hello,

    Thanks for your wonderful plugin, first of all.

    My issue is similar to the one described at https://ww.wp.xz.cn/support/topic/duplicate-amp-script-to-pages-that-you-want-to-show-amp-ads/

    I need to include specific iframe in all the amp pages, so, using Settings -> Advanced, I put the needed code to the body tag part and amp-iframe-0.1.js to the head part. Everything works pretty fine if there are no iframes in content, but sometimes they are there, and then amp-iframe-0.1.js is inserted by the plugin again, resulting in duplicate script call.

    Is there any way to fix this?

    Cheers

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

    (@ahmedkaludi)

    First of all, why are you adding the amp-iframe-0.1.js in the head part through Advanced settings?

    For which purpose exactly?

Viewing 1 replies (of 1 total)

The topic ‘Duplicate AMP scripts inclusion’ is closed to new replies.