Wordpress not adding <p> tags to post or pages!


#1

Hi, I’m working on a clients project, everything seems cool, but when writing posts or pages with content the text paragraphs all get into one fat block withotu the normal paragrah formatting, it’s not a CSS issue of spacing since I already checked this, the problem is once the post or page is published and I check the source code, I can see all other tags like

,
    etc but the content has no

    tags, any idea why this is happening and how Ic an solve this.

    Note: I haven’t installed plugins yet.

    Regards


#2

Pretty much sure you’re using a theme that removes this core WordPress functionality.

Check for something like this in functions.php (or any other file that is part of the theme’s back-end framework):


remove_filter ('the_content',  'wpautop');
remove_filter ('comment_text', 'wpautop');

#3

Nope, I checked the functions.php file twice and wasn’t able to find anything like this.


#4

Also check wp-includes/default-filters.php, could be totally missing. If not, maybe strip_tags() is used somewhere instead, check for that as well.


#5

I still cant find a solutionf or this, the previous suggestion was a negative, didn’t fixed the problem, what can I do, I’m so desperate! Please help me, when I see the source code, Ic an see the h1, h2, h3 tags, the ul and li but not the p tags for paragraphs any ideas?

thanks


#6

Contact theme author


#7

Authors can’t strip native WordPress functionality. Please contact support and we’ll ask the author to fix this.

Removing wpautop can mess up the formatting of some plugins.


#8

Thanks for the replies, yeah well, this is not a theme issue, I’m using the same theme in other site and it works perfectly fine.


#9
brandless said

Thanks for the replies, yeah well, this is not a theme issue, I’m using the same theme in other site and it works perfectly fine.

have to disabled the all the plugins then reactivated one by one to see if any of them are causing the issue?