how to add HTML text to a post
-
Hi, I’m trying to add HTML text from Amazon into a post, this is the text…
<iframe src=”http://rcm-eu.amazon-adsystem.com/e/cm?lt1=_top&bc1=FFFFFF&IS1=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=betwe-21&o=2&p=8&l=as4&m=amazon&f=ifr&ref=ss_til&asins=B00DP8V8Q4″ style=”width:120px;height:240px;” scrolling=”no” marginwidth=”0″ marginheight=”0″ frameborder=”0″></iframe>
All I’m getting in the post is a blank box. Any help would be appreciated, thanks
The blog I need help with is: (visible only to logged in users)
-
Hi there,
Currently, iframe codes are not allowed (are stripped out) on WordPress.com for security reasons. You can read more about this here:
Can you explain a bit more about what you’re trying to add? Perhaps it’s possible to add it to your site in a different way.
-
Hi, I’ve been trying to add an image with text linking back to books on Amazon as in the HTML I sent previously. I couldn’t understand why the text only and image only links worked but not both together. It’s obviously because of the iframe codes, now you’ve explained. I’ll need to make do with the image or text unless there’s another way to add text+image?
This is the HTML for text+image<iframe src=”http://rcm-eu.amazon-adsystem.com/e/cm?lt1=_blank&bc1=000000&IS2=1&bg1=FFFFFF&fc1=000000&lc1=0000FF&t=betwe-21&o=2&p=8&l=as4&m=amazon&f=ifr&ref=ss_til&asins=0007483864″ style=”width:120px;height:240px;” scrolling=”no” marginwidth=”0″ marginheight=”0″ frameborder=”0″></iframe>
-
Hey Cathy,
If you’re looking to add this image to a sidebar, the easiest thing to use would be the Image Widget described here:
http://en.support.wordpress.com/widgets/image-widget/
You can customize the link text to make the image link to the book on Amazon. Additionally, you can insert a caption if you would like.
If you’re looking to insert the image into a post, you could add the image and link it following the instructions here:
http://en.support.wordpress.com/links/image-links/
Let me know if either one of those solutions will work for what you’re looking to accomplish!
-
Thanks for replying, Jeremy. I’ve just joined up with Amazon Associates and my ID is embedded in their link. Not to worry the other links will work, it’s just that particular one. I was just stumped trying to understand why it wouldn’t work.
Thanks for your help -
- The topic ‘how to add HTML text to a post’ is closed to new replies.