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

WP Code Highlight

설명

WP Code Highlight provides syntax highlighting of source code snippets and it is W3C valid.
Wrap code blocks with <pre> and </pre>
It provides a code button(HTML editor) to help you insert code in articles easily.
You don’t need to specify the language since WP Code Highlight will guess, all languages are supported.
You can put line numbers in your code if you need.
There are 4 highlight themes, you can choose from them or display by random.
It can also load wp-code-highlight.css from current wordpress theme directory.
It can delete its own options, so it is also a green plugin !

Basic Usage

  1. Download and extract wp-code-highlight.zip to wp-content/plugins/
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. “Dashboard”->”Users”->”Your Profile”->”Disable the visual editor when writing”
  4. “Dashboard”->”Settings”->”WP Code Highlight”
  5. Wrap code blocks with <pre> and </pre> (It provides a code button in the HTML editor)
  6. You don’t need to specify the language since WP Code Highlight will guess, all languages are supported
  7. It can also load wp-code-highlight.css from current wordpress theme directory

More Information

For more information of this plugin, please visit: Plugin Homepage.

Related Links:

스크린샷

  • Admin page screenshot
  • Code Button

설치

  1. Download and extract wp-code-highlight.zip to wp-content/plugins/
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. “Dashboard”->”Users”->”Your Profile”->”Disable the visual editor when writing”
  4. “Dashboard”->”Settings”->”WP Code Highlight”
  5. Wrap code blocks with <pre> and </pre> (It provides a code button in the HTML editor)
  6. You don’t need to specify the language since WP Code Highlight will guess, all languages are supported
  7. It can also load wp-code-highlight.css from current wordpress theme directory

FAQ

You can sumbit it in http://boliquan.com/wp-code-highlight/

후기

2019년 September 2일
This plugin was working fine, until some point in the last 12 months. I checked an old post and discovered that my content was no longer displaying, and discovered this plugin was the cause. Upon deactivation, my content reappeared. So, like others have posted, it doesn't seem to work with PHP 7
2018년 May 3일
I used to use this plugin on my site, but since upgrading to PHP 7.1, this plugin no longer works, therefore I've uninstalled it.
2017년 January 19일
I was using it quite a bit. After a while, I forgot about it. Out of convienience I started to use gist and embedded them. There are good reasons not to do this and for those reasons this plugin is suitable. I do not quite remember, I think I abandoned this plugin, since I use a lot of < and > and there is no fun doing so with the WP Editor. Must have been something like this, but not really related to this plugin. I switched to PHP7 and my blog posts seem to disappear. I found out, this plugin does not work with PHP7. No worries, your posts are not lost, but they are not displayed properly. When you deactivate the plugin, everything works as it is supposed to. If you want to use this plugin and PHP7 you might want to have a look into this comment by a friendly user: https://wordpress.org/support/topic/this-plugin-does-not-support-php7/#post-8043051 Would be great, if the plugin would get updated though 🙂
모든 14 평가 읽기

기여자 & 개발자

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

기여자

자국어로 “WP Code Highlight”(을)를 번역하십시오.

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

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

변경이력

1.2.9

  • Some optimization

1.2.8

  • Updated newline handling to handle fixes to IE 10
  • Remove unused JS files
  • Optimize CSS
  • Register Setting

1.2.7

  • Some optimization

1.2.6

  • Corrected the bugs of ‘Code Button’, due to the quicktags was changed since WordPress 3.3

1.2.5

  • Corrected the slashes bugs
  • Add settings link

1.2.4

  • Detailed usage

1.2.3

  • Corrected some bugs,thanks to ‘ihacklog.com’

1.2.2

  • Add languages packs

1.2.1

  • Corrected some IE6 bugs

1.2.0

  • Html special chars can be displayed
  • Some optimize

1.1.9

  • Some optimize
  • Corrected some bugs of Line Numbers

1.1.8

  • Some optimize
  • Corrected some mistakes

1.1.7

  • Some optimize
  • Corrected some mistakes

1.1.6

  • First release.