Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

No p element in scope but a p end tag seen.

$
0
0

I use wp-types and wp-views to generate the page. When i try to validate html trought wwwhttp://validator.w3.org/ i got a lot of errors from a p end tag seen. I lookt in to the pagesource and I found at the end of every img tag a unwanted </p>.FOR EXAMPLE: <img alt="focar semineu" title="focar semineu" class="attachment-thumbnail aligncenter" src="http://www.semineebolovan.ro/wp-content/uploads/2014/06/amelia-wpcf_139x150.jpg" /></p>.
I tryed adding this function on theme functions but still not working.
remove_filter('the_content', 'wpautop'); I nedd to validate this html for SEO.
Please advice me.


Viewing all articles
Browse latest Browse all 20145

Trending Articles