An easy to use, with intuitive interface, WordPress plugin that replaces the default Theme and Plugin Source Code Editor with an enhanced editor by a CodeMirror library. The WordPress default Theme Editor (in Appearance => Editor) and Plugin Editor (in Plugins => Editor) is great for doing some custom changes to your Themes or Plugins files, although it is rather limited. This is where the “Syntax Highlighter for WP Editor” can help. With an enhanced source code editor you can see a code with syntax highlighting, and with line numbering, so you can easily read your code and detect any errors.

This plugin give you finer control over editor, it can be configured on the plugin settings page. You can chose from 36 different colour themes for your editor. If you want more options, then let us know and we will be happy to add them.

This plugin is just plug and play, no tedious configurations or hacks, just install, enable and start using your new enhanced Theme and Plugin Editor.


  • Lightweight and fast
  • Secure code with using clear coding standards
  • Intuitive interface with many settings
  • Cross browser compatible (work smooth in any modern browser)
  • Compatible with all WordPress themes
  • RTL compatible (right to left)
  • Translation ready
  • Published on

Key features include

  • Syntax highlighting (by CodeMirror)
  • Changeable color theme (36 variants)
  • Line numbering
  • Editor allow for tab indentation
  • Live preview on Settings Page

Got more ideas? Tell us!

Supported languages:

  • XML
  • HTML
  • CSS
  • PHP
  • JavaScript (.js)
  • Markdown (.txt)


  1. Plugin settings page: WP plugin "Syntax Highlighter for WP Editor" by Space X-Chimp
  2. Default WP Plugin Editor : WP plugin "Syntax Highlighter for WP Editor" by Space X-Chimp
  3. Plugin Editor that provided by this plugin (colour theme: ambiance) : WP plugin "Syntax Highlighter for WP Editor" by Space X-Chimp
  4. Plugin Editor that provided by this plugin (colour theme: default) : WP plugin "Syntax Highlighter for WP Editor" by Space X-Chimp
  5. Theme Editor that provided by this plugin (colour theme: ambiance): WP plugin "Syntax Highlighter for WP Editor" by Space X-Chimp


This plugin is ready for translation and has already been translated into several languages. But If your language is not available then you can make one. It is also possible that not all existing translations are up to date, so you are welcome to make corrections. Many of plugin users would be delighted if you share your translation with the community. Thanks for your contribution!

If you want to help translate this plugin, please visit the translation page. You can also use the POT file that is included and placed in the languages folder to create a translation PO file. Just send the PO file to us and we will include this translation within the next plugin update.


This plugin is open-sourced software licenced under the GNU General Public Licence, version 3 (GPLv3) and is distributed free of charge.

Commercial licensing (e.g. for projects that can’t use an open-source licence) is available upon request.


Fork on Github

Quick-Start Guide

  1. Upload “Syntax Highlighter for WP Editor” to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.
  3. Go to Settings → “Theme / Plugin Editor”.


Developing plugins is long and tedious work. If you benefit or enjoy this plugin please take the time to: