Plugin info

Total downloads: 23,034
Active installs: 10
Total reviews: 2
Average rating: 4
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 8/14/2019 (2329 days ago)
Added to WordPress: 9/16/2008 (17 years old)
Minimum WordPress version: 4.0
Tested up to WordPress version: 5.2.23
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 2329 days ago • 2 reviews

22/100

Is FV Code Highlighter abandoned?

Possibly abandoned (last update 2329 days ago).

Compatibility

Requires WordPress: 4.0
Tested up to: 5.2.23
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Code Syntax Block
Rating 4.9/5 (48 reviews)Active installs 8,000
Syntax-highlighting Code Block (with Server-side Rendering)
Rating 5.0/5 (26 reviews)Active installs 1,000
Code Block Syntax Highlighter for Elementor
Rating 5.0/5 (8 reviews)Active installs 700
Better WordPress Syntax Highlighter
Rating 5.0/5 (1 reviews)Active installs 80
AH Code Highlighter
Rating 5.0/5 (1 reviews)Active installs 70
Codeblocks Extended with PrismJS
Rating 0.0/5 (0 reviews)Active installs 10

Description

Do you have a lot of code on your blog, and want to make it more readable? Then this is the plugin for you!
This plugin supports the highlighting of PHP, (x)HTML, JavaScript, CSS and XML. The default highlighter
color scheme uses the same colors Adobe’s Dreamweaver is using. This makes it easy for your visitors to
recognize what type of codes you wrote and quickly read through them.
Want to modify the default color scheme? No problem! With a little bit of knowledge about CSS, you can
completely customize the output of the plugin.

Installation

This section describes how to install the plugin and get it up & running.

Requirements

In order to successfully use this plugin, you will need the following:

  • PHP 7.0 or higher
  • WordPress 4.0 or higher

Installation Steps

  1. Upload the folder fv-code-highlighter to the /wp-content/plugins/ directory.
  2. Make sure the cache dir /wp-content/plugins/fv-code-highlighter/cache is writable by your webserver.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Choose your preferred settings on the options page: WP Admin > Appearance > Code Highlighter.
  5. Place your code between
 .. code .. 

tags to use the highlighter. Replace codetype with the type of code you like to highlight (e.g. php).

Custom Color Scheme

If you like to make some modifications to the default color scheme, all you need is a little
bit of knowledge about CSS. Simply copy the file fv-community-news/public/css/fvch-styles.css
to the root of your current theme directory and start editing.

Frequently Asked Questions

Q: Can this plugin be used to highlight code in comments?
A: Yes! Using the [code][/code] tags in comments will work. Even bbPress topics/replies are supported.

Q: My PHP code is not highlighted correctly?
A: With version 2.0 and up, it is required to start PHP code with PHP tags (<?php, <?=)

Q: I have a great idea for this plugin, could I make a suggestion?
A: Sure you can! Let me know about it.

Q: What to do if I found a bug?
A: Please report the bug to me as soon as possible. This way I can solve the problem and make the plugin better for everyone.
Visit the post at https://frankverhoeven.me/wordpress-plugin-fv-code-highlighter/.

Review feed

No reviews available

Screenshots

  1. PHP Code with dark mode enabled

    PHP Code with dark mode enabled

  2. The configuration page.

    The configuration page.

  3. PHP Code with notepaper background and toolbox

    PHP Code with notepaper background and toolbox

  4. General Code

    General Code

  5. CSS Code

    CSS Code

  6. HTML Code with embedded CSS and Javascript

    HTML Code with embedded CSS and Javascript

  7. JavaScript Code

    JavaScript Code

  8. PHP Code

    PHP Code

Changelog

For more details on changes, please see the commits on GitHub.

2.2.1

  • Fix: A failed version check no longer crashes the plugin.

2.2

  • New: Support for Gutenberg code blocks!
  • Improvement: Added the Doctrine coding standard and cleaned up code according to it.
  • Improvement: Various significant performance improvements.
  • Improvement: More content is cached so less has to be parsed each request.
  • Improvement: Various code improvements.
  • Fix: Newlines were not always correctly displayed without line numbers.
  • Fix: Copy code to clipboard now correcly includes newlines.

2.1.3

  • Improvement: Various small fixes and code improvements.

2.1.2

  • Improvement: PHP Code is no longer required to start with PHP tags to be highlighted.

2.1.1

  • Fix: PHP 7.0 Compatibility

2.1

  • New: All new Dark Mode that displays code with a dark background.
  • Improvement: New text select icon.
  • Improvement: Use the settings API for the admin page.
  • Improvement: Prepend global scope with ‘\’ to improve performance.
  • Fix: Installer fixes.

2.0.5

  • Change: Require PHP >= 7.
  • Improvement: General code improvements.

2.0.4

  • Fix: The copy-icon is now loaded correct.

2.0.3

  • Change: Code should now be placed between
 

(old tags still work for now)
* Impovement: General code improvements

2.0.2

  • New: New Xcode inspired color scheme for PHP.
  • New: PHP highlighter now also highlights classes, methods and phpdoc.
  • Improvement: Stylesheet is minified.
  • Improvement: Colorscheme stylesheet is dynamically loaded.
  • Change: Font-size unit is changed from px to em.

2.0

  • New: Entirely rewritten parsing engine
  • New: Bash code highlighter
  • New: General highlighter that is used when a code type is not explicitly supported
  • Improvement: Performance enhancements
  • Improvement: Updated CSS keywords
  • Change: PHP code must start with a PHP tag (<?php, <?=) for the highlighter to work correctly
  • Fix: Various highlighter fixes