wpDiscuz – Syntax Highlighter

wpDiscuz Syntax Highlighter addon displays formatted source code using the highlight.js JavaScript library in comment content. This addon supports almost all programming languages including Apache, Bash, C#, C++, CSS, HTML, XML, JSON, Java, JavaScript, Objective-C, PHP, Perl, Python, Ruby, SQL, Basic, Delphi, Erlang, Matlab, Prolog, ScalaScheme, Swift, TypeScript, VB.NET, Shell with dozens of different syntax highlighting styles. With this addons your commenters can insert different scripts and codes using the [</>] code toolbar button in comment editor. In the dashboard settings you can enable/disable certain programming language and change the highlighting style.

Official wpDiscuz Addon

Please note: this is an add-on for wpDiscuz plugin. This addon requires at least wpDiscuz 7.0.0 version. Please do not install this addon on lower wpDiscuz versions. wpDiscuz is a free, AJAX controlled, real time, flexible and responsive commenting plugin. It's available for free download on WordPress.org Extensions directory. The official wpDiscuz addons are only available here at gVectors.com Premium plugins store.

Choose the License Type

Including 1 year premium support

Products subject to yearly license for future updates.
License Agreement | Support Policy
gVectors Store Discounts and Sale Packs

Sale Packs for 20% - 40% discounts.

We offer Sale Packs for our customers who are going to purchase more than two products at once. Sale Packs are based on minimum and maximum amount of purchased products in cart. Please find all our offers here»

Description

wpDiscuz Syntax Highlighter addon displays formatted source code using the highlight.js JavaScript library in comment content. This addon supports almost all programming languages including Apache, Bash, C#, C++, CSS, HTML, XML, JSON, Java, JavaScript, Objective-C, PHP, Perl, Python, Ruby, SQL, Basic, Delphi, Erlang, Matlab, Prolog, ScalaScheme, Swift, TypeScript, VB.NET, Shell with dozens of different syntax highlighting styles.

With this addons your commenters can insert different scripts and codes using the [</>] code toolbar button in comment editor. In the dashboard settings you can enable/disable certain programming language and change the highlighting style.

 

Installation and Configuration

  • This addon installs like any other plugin for WordPress.
    Access to wpDiscuz Syntax Highlighter is provided immediately after you’ve paid for your order. Upon completing registration/checkout, you may log in at gVectors.com. We will also email you after registration/checkout, with a link to the login page. Then download the installation package.
  • Navigate to Dashboard > Plugins > Add New admin page and upload addon ZIP file, then activate it.
  • Once the plugin is active, go to Dashboard > wpDiscuz > Settings > Addons Tab > Syntax Highlighter subTab to begin configuration…
  • It’ll ask you to activate with license key you got via email or in your account page, just insert the key and activate it.

If for some reason you cannot install this plugin using WordPress plugin upload system please do that with this alternative way. Unzip, and then upload the /wpdiscuz-syntax-highlighter/ folder to your /wp-content/plugins/ directory using an FTP application like FileZilla; or any other FTP program is fine also. Make sure you have not double /wpdiscuz-syntax-highlighter/wpdiscuz-syntax-highlighter/ directories nested inside each other, please correct this before you continue. Then in WordPress, go to WordPress Dashboard > Plugins, and then activate the wpDiscuz Syntax Highlighter addon.

wpDiscuz Syntax Highlighter – Frontend

wpDiscuz Syntax Highlighter – Dashbord

 

1.0.4

Added: Code ‘Copy’ button

1.0.3

Compatible with WordPress 5.7

1.0.2

Added: Allowing to disconnect license

1.0.1

Compatible with WordPress 5.5

1.0.0

Initial version

Pre Sale Support


Guest
Rjod
1 year 8 months ago

What can i do with the comment highlljghter? It seems i cannot highlight comments of other commenters, am i correct? Is this plugin only for the admin of a site or also for ordinary users to highlight comments of other users?

Support
1 year 8 months ago

Hi Rjod,

The addon is designed to display formatted source code. This addon supports almost all programming languages including Apache, Bash, C#, C++, CSS, etc. Please watch this small video to better understand how the addon works: https://www.screencast.com/t/HttH2yv2Aj

Member
Tarindel
3 years 3 months ago

Context: I have a syntax highlighter on my site, but it has some shortcomings with things like lazy loading comments, so I’m considering whether to purchase your syntax highlighter.

Three pre-sale questions:
1) Does your highlighter style correctly for comments that are loaded via Ajax / lazy load?
2) Is there a way for commenters to use the syntax highlighter if the rich editor is disabled? Currently I’m having users wrap their code inside a shortcode that gets processed. Could something like that be made to work?
3) Is there a way to use the syntax highlighter in the post content? I don’t want to run separate syntax highlighters for post vs comment code.

Thanks much!

Support
3 years 3 months ago

1) Does your highlighter style correctly for comments that are loaded via Ajax / lazy load?

Yes, it works fine with Ajax / lazy load.

2) Is there a way for commenters to use the syntax highlighter if the rich editor is disabled? Currently I’m having users wrap their code inside a shortcode that gets processed. Could something like that be made to work?

The addon works if the rich editor is enabled.

3) Is there a way to use the syntax highlighter in the post content? I don’t want to run separate syntax highlighters for post vs comment code.

Yes, you can use the “Custom Selector” option. It allows highlighting the code outside the comment section.

Member
Tarindel
3 years 3 months ago

Thank you for the answers. A few follow up questions if you would be so kind:
1) I couldn’t find any documentation about the custom selector. Can you give me an example of what a custom selector looks like? Is it an HTML 5 element? A class on a div?
2) If the custom selector option can be used in the body of a post, couldn’t it also be used in the body of a comment typed in the non-rich text editor?

Thank you again.

Support
3 years 3 months ago
Guest
Abraham
3 years 5 months ago

It is possible to embed wpDiscuz or install in a HTML website, or only on WordPress?

Support
3 years 5 months ago

Hi Abraham,

The wpDiscuz is designed only for the websites, designed on WordPress. There is no way to use it without WordPress.

Support
Tom
4 years 5 months ago

Dear buyers,
this is the right place where you can ask all per-sale questions you have, before purchasing this plugin. We’ll be in touch and reply within 1-2 hours for GMT +1 to +12 and within 4-6 hours for GMT -1 to -12. Our customer support representatives are available 6 days a week from 6am to 6pm (GMT 0:00, London) ; excluding all major holidays.

 
  • Plugin Support

    supportIf you have pre-sale or other questions, please ask it in our Support Forum or contact us here.

    Support for Products by gVectors is available through your account at gVectors.com, which grants you access to the support forum where you can ask us technical questions. Our customer support representatives are available 7 days a week from 6am to 10pm (GMT 0:00, London) ; excluding all major holidays.

  • Protecting Your Personal Information

    Privacy Policy
    gVectors.com doesn't like it when someone gives away our personal information and neither do you! That's why we don't rent, sell or share your personal information with anyone. Our Privacy Policy details how your personal information is collected and how your personal information may be used.
    Read More About the Privacy Policy

    Shop Safely and Securely

    gVectors.com takes great pride in offering a safe and secure online shopping experience. We understand that the safety of your personal information is extremely important to you.
    Your purchase will be processed by 2Checkout (PayPal, Visa, MasterCard, American Express, etc..). Pay within 2Checkout's secure PCI compliant payment system. When the order is completed successfully, we will send the customer an order confirmation.

    Secure Sockets Layer (SSL Technology)

    gVectors.com uses Secure Sockets Layer (SSL) technology to provide you with the safest, most secure shopping experience possible. SSL technology enables encryption (scrambling) of sensitive information, including passwords and credit card numbers, during your online transactions. All of the forms on our site are secured with SSL technology so your personal information stays safe and out of malicious hands.

Scroll to top