이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Ignore Code

설명

Wherever you have code you dont want the visual editor to touch use the [ignore_code] shortcode.
This version also supports the [insert_php] and <?php tags, though for the PHP tag you will have to
start the first line with <?php // > With latter two codes you will have to separately install
plugins to get the dynamic PHP insertion functionality.

스크린샷

  • This is some code between the ignore_code shortcode

설치

Installation is easy.

  1. Upload the plugin files to the /wp-content/plugins/ignore-code directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. There are no settings at this time but you can modify the source code to make it support more shortcodes.

FAQ

Installation Instructions

Installation is easy.

  1. Upload the plugin files to the /wp-content/plugins/ignore-code directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. 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.

후기

2018년 6월 27일
This worked really well for me to preserve a HTML button I needed to insert. The downside is that anything between the codes don't show up in the visual editor, but for single buttons that is not a big deal for me. I see it hasn't been tested with latest versions of WP. Will this be updated? It is well worth it.
2017년 1월 25일
Some of my button was messing up when I switch to visual tab but with this plugin my issue got resolved. Good job 🙂
모든 3 평가 읽기

기여자 & 개발자

“Ignore Code”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Ignore Code”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0

  • Initial version with readme.