<–more–> tag creates a w3c validation error
-
Hey there wordpress gurus out there – need your help!
I’m creating my blog and trying to make it completely w3c compliant. I’m ALMOST there, but my last problem is the <–more–> tag in my posts.
The HTML I have in my blog page looks like this:
<?php global $more; $more = 0; the_content('<br /><br /><b>Read the rest of this entry »</b>'); ?><br />
And when I post my articles, the source code looks like this:
… <a href="..." class="more-link"></p> <p><b>Read the rest of this entry »</b></a></p> <br />
And so it’s not validating.
…Any thoughts about how to chnage the code to get it to validate or any plugins to install that could fix this?
In case you want to see the source code yourself, the web-address https://www.origoldstein.com/blog/
Thanks gurus!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘<–more–> tag creates a w3c validation error’ is closed to new replies.