[wp-hackers] the_content() and more link

James Davis james at freecharity.org.uk
Thu May 31 14:37:10 GMT 2007


I'm currently using the following code in a theme.

<?php the_content('Continue reading "'. the_title("","",false).'"'); ?>

It outputs something like

blah blah blah content blah blah blah
<p><a href="linktomore">Continue reading</a></p>

Is there a way to avoid these paragraph tags and instead output
something similar to

blah blah blah content blah blah blah
<a href="linktomore">Continue reading</a>

Thanks,

James

-- 
http://www.freecharity.org.uk/ - Free IT services for charities
http://www.freecharity.org.uk/wiki/ - The VCSWiki


More information about the wp-hackers mailing list