I am trying to make my website XHTML valid; having trouble with how
<P> & </br>wrapping around the linke for
What I want, simply, is something like this in my template:
<?php the_content('<p class="center-text">Read-More
I want the read more text to be set apart, below, and centered.
However, this creates the following HTML output:
<p>blog entry. <a href="http://192.168.1.100/~damontimmm/wordpress2/?p=8#more-8"><br />
<p class="center-text">Read More!</p>
Which is not valid. I have tried a span tag, but that throws a in there where I don’t want it, and I have tried closing the first
the_contentputs the link BEFORE where I would close the previous paragraphs
Any suggestions ? Am out of ideas.
- The topic ‘the_content question’ is closed to new replies.