Creating unique content for AMP
-
Hi I’m looking into adding amp to a wordpress site.
One thing I’m not sure about is how do I add content that should only be available for the amp version and not the regular version and vice versa.For example if I have an iframe for a contact form I will wont the regular page to have the regular form code <div><script>//script to load form…</script></div> and the <amp-iframe …> for the amp page.
Is there any way for me to only include the regular content on the regular page and the amp content only on the amp page?
Currently both content is included in both pages (after striping non supported tags from the amp version).
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Creating unique content for AMP’ is closed to new replies.