function the_content() (2 posts)

  1. notsewmit
    Posted 11 years ago #

    I just started using WordPress a few days ago (version 1.0.2) and I already have a question. When editing my index.php file, I see that a post's content is wapped in tags. I checked the the_content() function which is what pulls the content, but I couldn't find where the p tags are added.
    Can anyone tell me where I can find this? I want to add some extra stuff to my content and perhaps remove the p tags.
    Thanks in advance.

  2. carthik
    Posted 11 years ago #

    The p tags are added by the autop filter, search for autop on the forums and the wiki, and thou shalt find the answer :)

Topic Closed

This topic has been closed to new replies.

About this Topic