WORDPRESS VERSION: 3.8.1 PHP version: 5.3
I have a trouble with wordpress posts. How can I remove the auto P tags added? This is my final html code:
<div class="one_half_style_4_last">
<p>
<p>
<ul class="list-green">
<p>
<h4 class="\"pattern-bg-title-grey\"">
<span>Livelli Vip</span>
</h4>
<div class="su-table table-post">
<h4 class="\"pattern-bg-title-grey\"">
<p></p>
<p>Invalid Displayed Gallery</p>
<p></p>
<h4 class="\"pattern-bg-title-grey\"">
<p></p>
<div class="srp-widget-container">
<p></p>
<p class="omc-single-tags"></p>
<br class="clear">
<div class="omc-related-posts">
</div>
There is another trouble, wordpress add slashes (magic_quotes_gpc on my server is Off):
<h4 class="\"pattern-bg-title-grey\"">
I tried to put this code in functions.php or single.php and even comment these lines in wp-includes/default-filters.php but is not working:
remove_filter( 'the_content', 'wptexturize' );
remove_filter( 'the_content', 'convert_smilies' );
remove_filter( 'the_content', 'convert_chars' );
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_content', 'shortcode_unautop' );
remove_filter( 'the_content', 'prepend_attachment' );
What can i do?