Can someone point me to the <p> string that encloses every post? I would rather strip it and put it in the template.
Can someone point me to the <p> string that encloses every post? I would rather strip it and put it in the template.
Additionally, when the exerts display in a list of posts, is there a way to string the <p> from this? I would like to wrap it in a <img> instead.
The post formatting is added by the_content() template tag:
http://codex.wordpress.org/Template_Tags/the_content
If you want custom excerpts, try using the Optional Excerpt area near the foot of each Edit Post page.
I was thinking more a of way to edit the WP PHP directly. I am sure there has to be an $output .= "<p>;" or something similar in the source.
Have a look in wp-includes/formatting.php.
This topic has been closed to new replies.