HTML code showing instead of badge image
-
Full disclosure: I know nothing about HTML, so I’m taking the source at their word when they say this badge is coded correctly.
I’m trying to put this badge on my entry and the HTML code is all that shows up when I post or preview. Here is the code: <img src=”http://media.colettepatterns.com/images/sewalongs/hawthorn-125.png” width=”125″ height=”125″ alt=”Hawthorn Dress Sewalong” title=”Join the Hawthorn Dress Sewalong!” />
Is it a kind of code that WP disallows, is the code faulty, or something else? Many thanks to anyone who can help!
The blog I need help with is: (visible only to logged in users)
-
Wow, so parts of the code are actually working here (there is a short line of code with a link that comes before the image coding, which is not visible in the above post) but the image is still not displayed. Sorry for any confusion.
-
Hi there,
Will you please provide the code between backticks so we can examine it here in this forum thread.
The backtick ` not to be confused with the single quote mark ‘ is located to the left of the number 1 key in lower case under the tilde ~.
backtick
code
backtick -
Sorry about that:
<a href="http://www.coletterie.com/sewalongs/hawthorn-sewalong"><img src="http://media.colettepatterns.com/images/sewalongs/hawthorn-125.png" width="125" height="125" alt="Hawthorn Dress Sewalong" title="Join the Hawthorn Dress Sewalong!" /></a> -
That’s a correct code. All you have to do is copy and paste it into a text widget to display it in your sidebar. http://en.support.wordpress.com/widgets/text-widget/
-
If you wanted/tried to paste it in a post and it showed up as code, then you pasted it in the Visual editor. To paste code, you switch the editor to Text.
-
You both are fantastic–those two bits of info were exactly what I needed. Thanks so much for your help!
-
-
I’m also having this problem. Is this code faulty or does it not comply with the WordPress security policy?
<script type="text/javascript" src="http://wwcdn.weddingwire.com/static/js/widgets/wwrated/2013.js"></script><div id="ww-widget-wwrated-2013" class="ww-reset ww-widget-wwrated-2013"><a target="_blank" class="ww-top" href="http://www.weddingwire.com" title="Weddings, Wedding, Wedding Venues"> </a><a target="_blank" class="ww-bottom" href="http://www.weddingwire.com/reviews/color-my-world-flowers-by-katie-pollard-nashville/d75000cd1a14d27d.html" title='Color My World - Flowers by Katie Pollard Reviews , Nashville Flowers'> </a></div><script type="text/javascript">WeddingWire.ensureInit(function() {WeddingWire.createWWRated2013({"vendorId":"d75000cd1a14d27d"});}); </script>
- The topic ‘HTML code showing instead of badge image’ is closed to new replies.