Wordpress: Fix Visual Formatting


/ Published in: PHP
Save to your folder(s)

Prevents wordpress back-end from stripping formatting


Copy this code and paste it in your HTML
  1. //TITLE: Fix Visual Formatting
  2. function remove_formatting(){
  3. //Prevents wordpress back-end from stripping formatting
  4. remove_filter ('the_content', 'wpautop');
  5. }
  6. add_action('init', 'remove_formatting');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.