I am trying to use the excerpt so that I can type in a link to an image (I.E. http://www.imagesite.com/image.jpg) without quotes and have that url be inserted into my main page using the following code:
<img src="<?php the_excerpt(); ?>">
However, the excerpt has these tags on both sides of the url automatically and the code ends up looking like this (imagine the [p][/p] tags are the normal html ones... this post ate them when I first posted):
<img src="[p]http://www.atypicalweb.com/mt-icons/siteicon.jpg[/p]
">
Can someone tell me what I am doing wrong and how to fix it? :)