from a page that has no literal content (uses shortcodes)
I have a WordPress powered website that on the homepage uses a static page with nothing but shortcodes to generate the content.
The page gets these shortcodes by set
There are various functions aside from wpautop()
that filter post content, such as force_balance_tags()
, which was designed to balance bad HTML coming in via the editor.
They're mostly defined in formatting.php, where you can see the various code in source.
Removal of these filters can be as simple as one line, as you point out:
remove_filter('the_content', 'wpautop');
For more information: http://codex.wordpress.org/Function_Reference/wpautop
Check out below links which will help you.
and
tags in WordPress posts
may this help you.