How to remove the <p>’s from the_content?
-
Hey there ??
I’m just starting to figure out WordPress and I already bumped into an oldschool CMS-thing! Paragraphs where I don’t want them! ??
In ‘the_content’ there appears to be a <p> tag (and a </p> one of course) and I’d like to know the file where it puts the tags in the var. I’ve been searching among some files like edit-form.php to post.js
Goal: If the content would be “Hello world”, having <?php the_content(); ?> print “Hello world” rather than “<p>Hello world</p>”.
Might be I’m thinking too complex for it atm, might be it ain’t that easy – anyone who wants to help me out? ??
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘How to remove the <p>’s from the_content?’ is closed to new replies.