HTML in Title field
-
Am I making a mistake by including HTML in the title field of my post?
Here’s the relevant line from my index.php. Note that I’ve removed the permalink stuff and am simply displaying the post title.
code
<h3 class=”storytitle” id=”post-<?php the_ID(); ?>”><?php the_title(); ?></h3>code
In the title field, I’m entering things like:
<a href="https://www.google.ca">This is the post title</a>
WP 1.5 seems quite happy to let me do this, but I’d appreciate the opinion of somone who’s more technically expert than I am.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘HTML in Title field’ is closed to new replies.