Beskrivning
Allow users to post source codes in comments using tag. No syntax highlight at the moment, it just replaces the special characters.
Features
- Replaces the special characters for the comment texts wrapped in tags
- You can show a message after comment form to tell your visitor know they can post codes using tags
Skärmdumpar
Installation
- 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
- Go to Admin Panel > Settings > Codes in Comments and customise it to suit your needs.
Vanliga frågor
- What is the output? Show me an example.
-
If you use
This is a <b>bold text</b>.
, the output will be
<div class="cic_codes_div"><code >This is a <b>bold text</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.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”Source Codes in Comments” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personerÖversätt ”Source Codes in Comments” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.0.2
- Added str_replace to the stripslashes so that ”plugin message” field works with double quotes
1.0.1
- Added stripslashes to input area
- Updated the link to plugin support
1.0
- First version of Source Codes in Comments