Skip to content

Instantly share code, notes, and snippets.

@stephenscaff
Last active December 28, 2015 03:09
Show Gist options
  • Save stephenscaff/7433436 to your computer and use it in GitHub Desktop.
Save stephenscaff/7433436 to your computer and use it in GitHub Desktop.
You spend all this time crafting a great Wordpress site, with a killer blog section chalked full of snazzy css and vertical rhythm badassery. Just to have the client get all clever with that WYSI toolbar, dropping nasty inline styles all over your design's face. Easy solution - tell the WYSI tab to kick rocks. Just plop this filter in functions.…
add_filter ( 'user_can_richedit' , create_function ( '$a' , 'return false;' ) , 50 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment