Forums

P Tag Question (6 posts)

  1. cfreview
    Member
    Posted 1 year ago #

    I'm working on my theme for my site. When I test my site, my posts are getting a p tag around the the_content. The tags don't exist in the index.php file, and I checked the html in the posts, and they don't share there either. Any thoughts on why they are appearing?

  2. mercime
    Member
    Posted 1 year ago #

    URL of site. It's normal to have <p> after publishing but need to see code first.

  3. cfreview
    Member
    Posted 1 year ago #

    The site is in disarray because i'm working on it now, but the url is http://www.cfreview.com

    Please excuse some of the look, the problem is between the actual post and the post author and date and comments section.

    thanks,

    Michael

  4. whooami
    Member
    Posted 1 year ago #

  5. mercime
    Member
    Posted 1 year ago #

    Ok cfreview, the <p> in source is a valid markup added by WP in content area. I don't see any stray <p>'s around. Best wishes on the completion of your site.

  6. cfreview
    Member
    Posted 1 year ago #

    Thank You for your help whooami and mercime.

    I was able to comment out the part of the wpautop filter that was causing the problems for me.

    Thanks again, the articles from the links were interesting.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags