WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by acalbert v1.2.9

WP Code Highlight

WP Code Highlight provides clean syntax highlighting and it also provides a code button.

WP Code Highlight

The facts

Rating
3.9★ from 14
Active installs
200+
Price
Free
Last updated
2 Aug 2014
Added
Sep 2011
Requires WP
2.7
Tested up to
WP 3.9.40
Downloads
56,229

Our analysis

AI-assisted

WP Code Highlight is a WordPress plugin that provides syntax highlighting for source code snippets. It allows you to wrap code blocks in <pre> tags and includes a button in the HTML editor for easy code insertion.

The plugin automatically detects the programming language used and supports all languages. It offers four highlight themes and the option to include line numbers in the displayed code. This plugin may suit users who need to present code snippets on their WordPress sites.

Best for: This plugin is suitable for WordPress users who need to showcase code snippets on their sites.

What it does well

  • Provides syntax highlighting for code snippets
  • Automatically detects programming languages
  • Includes a button for easy code insertion
  • Offers four highlight themes
  • Can load custom CSS from the current theme directory

Where it falls short

  • Last updated in August 2014
  • Limited active installs and low directory score
  • Compatibility tested only up to WordPress 3.9.40

Verdict

WP Code Highlight offers basic syntax highlighting features but may not be suitable for users needing up-to-date support or extensive functionality.

From the developer

acalbert's own description of WP Code Highlight, lightly tidied.

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:

Read the full description on the official page →

Tagged as