开发者 | mattsaul |
---|---|
更新时间 | 2017年11月3日 06:15 |
捐献地址: | 去捐款 |
PHP版本: | 3.5.1 及以上 |
WordPress版本: | 4.6 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
/wp-content/plugins/ignore-code
directory, or install the plugin through the WordPress plugins screen directly.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.
This is the first version so it may not work with extremely large sections of code.
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');
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.
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.