automatic <p> tag insertion in Text editor only, not in visual editor (wordpress) -
how remove automatic insertion of <p> </p>
in text entry fields only, not in visual editor...
i set in function.php
remove_filter( 'the_content', 'wpautop' ); remove_filter( 'the_excerpt', 'wpautop' );
it remove auto <p>
tag both text , visual editor
possible remove <p>
tag in text editor
only... not in visual.
paragraph tags added when posts content displayed , not when stored in database. not notice paragraph tags when switching visual text mode or when view posts content stored in database using phpmyadmin or similar means.
check next link see list of filters applied when database writes happen post, pages & attachments
http://codex.wordpress.org/plugin_api/filter_reference#database_writes
wordpress
No comments:
Post a Comment