Source Codes in Comments Plugin for WordPress

Posted in Wordpress Plugins on 4 October 2009 15 comments


Source Codes in Comments Plugin allow users to post source codes in comments using [code][/code] tag. No syntax highlight at the moment, it just replaces the special characters.


  • Replaces the special characters for the comment texts wrapped in [code][/code] tags
  • You can show a message after comment form to tell your visitor know they can post codes using [code][/code] tags


Plugin Options Page

Comment form


  • Download the plugin package
  • Extract and upload the “source-codes-in-comments” folder to your-wordpress-directory/wp-content/plugins/
  • Activate the plugin and its ready

Styling the codes DIV

If you use [code]text[/code], the output will be

<div class=”cic_codes_div”><code>text</code></div>

You can style the div using CSS. For example :

.cic_codes_div {
border:1px solid #dddddd;

Frequently Asked Questions

What is the output? Show me an example.
If you use

[code]This is a <b>bold text</b>.[/code]

the output will be

<div class="cic_codes_div"><code>This is a &lt;b>bold text&lt;/b></code></div>.

How do I style the source code DIV?
The DIV that contains the codes has CSS class "cic_codes_div". Style it in CSS.

Download the Latest Version

Source Codes in Comments 1.0.2 - 1,699 downloads

Change Log

Version 1.0
- First version of Source Codes in Comments

Like this plugin? Donate via Paypal

I spent a lot of time making themes and plugins. If you like this plugin and would like to support my works, you can donate via PayPal using the button below.

Plugin Support

If you have any problem with the plugin, please reply here.

Thank you.


Posted by Zen on 4 October 2009 • 21,947 visits 15 comments
Tags :

or Subscribe to specific category only :


nemoprincess says:

I’ ve been looking so long at similar plugin. Thank you very much. I’ ll try it.

Ипотпал says:

Thank you for the plugin

Nabeel Khan says:

it’s not working in wp 3.0… ???

zaenal abidin says:

whether to download the plugin

HAmza says:

Thnx very much it worked !


  1. WordPress Plugin Releases for 10/05 « Weblog Tools Collection
  2. WordPress Plugin Releases for 10/05 | - Blogging resources, WordPress themes and plugins for your development
  3. Source Codes in Comments
  4. Hookle » WordPress Plugin Releases for 06/10/09
  5. Codice nei commenti: un nuovo plugin Wordpress | Web 3.0 Notes
  6. 7 Plugin Wordpress yang Sangat Berguna di Ruangan Komen |
  7. Blog Feed Aggregator | Blog Feed Aggregator
  8. How to show source code in wordpress comments?
  9. How to show source code in wordpress comments? | Wordpress Blog Hosting
  10. How to show source code in wordpress comments?

Leave a Reply

You must be logged in to post a comment.

Previous Post
Next Post