Can I stop WordPress visual editor from removing remote App Store buttons?
-
I use individual portfolio items to list App Store apps for a client. On those pages I place a chunk of code from Apple’s official iTunes Store affiliate program to show a ‘Download on the App Store’ button. Hopefully it embeds ok here:
<a href="https://itunes.apple.com/us/app/fiery-feeds-rss-reader-for/id692742195?mt=8&uo=4&at=10l4Hf&ct=atl1" target="itunes_store" style="display:inline-block;overflow:hidden;background:url(https://linkmaker.itunes.apple.com/htmlResources/assets/en_us//images/web/linkmaker/badge_appstore-lrg.png) no-repeat;width:135px;height:40px;@media only screen{background-image:url(https://linkmaker.itunes.apple.com/htmlResources/assets/en_us//images/web/linkmaker/badge_appstore-lrg.svg);}"></a>
Thing is, whenever we switch to the visual editor, WordPress strips out this chunk of code completely; if we want to work on these pages, we *have* to stay in Text mode, not Visual.
Any way we can stop this, so people can just work in Visual? Thanks!
- The topic ‘Can I stop WordPress visual editor from removing remote App Store buttons?’ is closed to new replies.