Tired of MS Word-pasted content and overzealous editors destroying your site styles with green Comic-Sans…
Author: | Lawrie Malen (profile at wordpress.org) |
WordPress version required: | 2.0.0 |
WordPress version tested: | 5.5.5 |
Plugin version: | 1.0.0 |
Added to WordPress repository: | 04-04-2014 |
Last updated: | 07-12-2020
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 100 |
Rated by: | 1 |
Plugin URI: | https://www.verynewmedia.com/ |
Total downloads: | 806 |
Active installs: | 10+ |
Click to start download
|
As site designers, developers & owners we all have clients & editors who, even with the best of intentions, can make a hash job of editing a page or a post; for example, making a headline italic, and purple, and Papyrus (despite the site’s overall aesthetic of non-italic cobalt-blue Open Sans everywhere else); or the oft-seen act of making all of the text red & bold so that it all stands out all the time.
What StyleBidet does is subtly take back some of that design control to ensure that sites look the way they were intended to. Via the handy Settings panel, you can optionally set StyleBidet to:
- Remove inline
style
attributes when saving & displaying post content;
- Remove
<style>
& <font>
tags when saving & displaying content;
- Remove
<script>
tags when saving & displaying content;
- Remove the Text Color button from the WordPress Classic/WYSIWYG Editor;
- New! Remove inline
style/font
attributes & tags when saving & displaying Advanced Custom Fields.
FAQ
I added StyleBidet, but now all of my fancy styles have disappeared! What’s going on?
If you’re comfortable and happy adding plenty of custom styles to each and every post and page, then this plugin is most definitely not for you. It assumes that your website’s styling really should be taken care of by your theme’s stylesheet, and so ruthlessly removes anything else.
I installed this on a client’s site and now they’re complaining that they can’t make all the text red & purple anymore.
Hopefully this goes without saying, but if you’re thinking of installing this on a client’s site in response to their penchant for creative additions
, you really need to check with your client first. This plugin was developed in response to clients making such changes and then realising they’d made a terrible mistake, unintentionally sullying the appearance of a site they’d paid good money to have designed. Always use this plugin responsibly and with client consent.
I installed this on my site and now a bunch of stuff looks weird / isn’t animating / has disappeared.
Similarly to the point above: if you know or suspect that the site has a lot of inline <script>
tags in the content for countdown timers, animating SVGs etc. then this plugin may not be the solution for you. Inline <script>
tags generally aren’t safe or a great idea, and StyleBidet will clean them out by default if any options are enabled.
The ‘Remove script tags’ button is locked. WTH?
Inline <script>
tags generally aren’t safe or a great idea, and StyleBidet will clean them out by default if any options are enabled. Because it does this by default, the Remove script tags
option is locked to to ON, mostly just to let you know that it will be removing them.
I want to keep inline styling, but remove inline script tags. How do I do this?
As with the question above: this plugin may not be the solution for you. Inline <script>
tags generally aren’t safe or a great idea, and StyleBidet will clean them out by default if any options are enabled.
Does this work with custom post types?
StyleBidet will work with any post type that can either be displayed or saved.
Does this work with Advanced Custom Fields?
It totally does! As of version 1.0.0
, StyleBidet can optionally clean out your ACF text, textarea & WYSIWYG fields.
Does this work with Gutenberg and/or Classic Editor?
StyleBidet works with both! It was originally developed with the ‘classic’ WYSIWYG editor, and more recently updated to ensure it works with Gutenberg content.
ChangeLog
1.0.0
- Removed dependency on htmlLawed and made all cleaning operations native;
- Added option for cleaning ACF fields
0.6.0
Initial public release of StyleBidet.