I'm creating a wordpress template. I'm using the_content(); to get the text written in the backend. Wordpress usually wrapps that inside a <p>. After the_content(); I want to have a link (that is not written into the WYSIWYG-Editor), and that link is inside a div. Now I want the <div> to flow right next to the p-wrapped text:
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna, sed diam.</p> <div>MY LINK</div>
Thanks!
Is it possible, to flow a div container “inside” a p?It's not inside in your example? - StudioTime<span>would be more appropriate, since it's an inline element. - Scott