Finding your next read
Practical craft for people building for the web.
Explore DevelopmentFinding your next read
THE FINDERPRESS TOOL DIRECTORY
Explore this tool and check the official listing for its latest features and requirements.
01 / SOURCE DETAILS
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.
02 / SOURCE DETAILS
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 Upload the folder fv-code-highlighter to the /wp-content/plugins/ directory. Make sure the cache dir /wp-content/plugins/fv-code-highlighter/cache is writable by your webserver. Activate the plugin through the ‘Plugins’ menu in WordPress. Choose your preferred settings on the options page: WP Admin > Appearance > Code Highlighter. 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.
03 / SOURCE DETAILS
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/ .
KEEP EXPLORING