Causes the visual editor to ignore code within the ignore_code shortcode. Great at keeping advanced HTML,
JavaScript, or PHP code intact.
Author: | Matt Saul (profile at wordpress.org) |
WordPress version required: | 3.5.1 |
WordPress version tested: | 4.8.3 |
Plugin version: | 1.0 |
Added to WordPress repository: | 19-08-2016 |
Last updated: | 02-11-2017
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, %: | 74 |
Rated by: | 3 |
Plugin URI: | http://mattsaul.com/ignore-code |
Total downloads: | 2 993 |
Active installs: | 30+ |
Click to start download
|
Screenshots
This is some code between the ignore_code shortcode
FAQ
Installation Instructions
Installation is easy.
- Upload the plugin files to the
/wp-content/plugins/ignore-code
directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
- There are no settings at this time but you can modify the source code to make it support more shortcodes.
Does this work with other plugins that call tiny_mce_before_init
I tested it along side TinyMCE Advanced and they both seemed to work. However calling this in functions.php
section of your theme may override the plugin’s functions.
It’s not working on long pieces of code
This is the first version so it may not work with extremely large sections of code.
My code is still coming out wrong after I update the post
Ignore Code only stops code from being modified on the client side in the visual editor. It does not do anything
on the server side. For that you need to do something like remove_filter(‘the_content’, ‘wpautop’);
My code is not showing up in the visual editor anymore
That’s the down side of this plugin, it causes the visual editor to ignore the code entirely so it won’t be
represented as anything on there.
My CSS is still getting mangled
You can use this plugin in conjunction with Preserved HTML Editor Markup Plus to work with even more code. However
read that plugin’s documentation closely as installing it can modify the way your website looks.
It killed my website!
Because this is the first version, it is highly recommended you have FTP and database access to your website in case
you need to uninstall this plugin manually if it crashed your website. This precaution is a good one to take for
every plugin.
ChangeLog
1.0
- Initial version with readme.