Disable WordPress Spacing in Posts or Pages

wordpress database installed all is sparky

Disable WordPress Spacing in Posts or Pages

WordPress automatically adds extra spacing after you press enter. If creating the HTML for blog posts.  That did, require turning off autop — the filter that normally formats post content.  To turn off the autop filter, simply add this PHP snippet to your theme’s functions.php in your active theme:

remove_filter('the_content', 'wpautop');

This tiny snippet of code remove_filter call could save you a hurs of trouble with formatting that seems out of your hands.

If your WordPress blog uses multiple themes and you’d prefer to add this functionality as a plugin, you can place the following within a PHP file to be placed in the /wp-content/plugins directory:

Pinguis Web :Pinguis Website Design Kerry, Cork, Dublin in Ireland. An Irish Business we create stunningly beautiful, fully functional websites finished, live on the internet for €300. That is the finished price for a Website Design, SEO and Content Writing Services for any business based in Ireland.