Support » How-To and Troubleshooting » function the_content()

function the_content()

  • 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.

Viewing 1 replies (of 1 total)
  • The p tags are added by the autop filter, search for autop on the forums and the wiki, and thou shalt find the answer 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘function the_content()’ is closed to new replies.