Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

SyntaxHighlighter Evolved plugin installed on my blog. Code highlight working on post,but no comments..

I am showing the comment form with the different codes :

    <form  method="post" name="commentform" onsubmit="return false" id="commentform">
    <textarea name="comment" id="commentr" cols="50" rows="10" tabindex="4">  </textarea>
    <input type="hidden" name="send" id="send" value="1" />
    <span class="t"></span>
    <input type="submit" class="sendmain" name="sendmain"  onclick="_sendmain('<?php echo $post->ID; ?>');" value="Send" />
    </form>

What do you think the problem? My English is bad, I'm sorry. Thanks..

share|improve this question
2  
The plugin wasn't intended to work on comments, it's for post content –  Tom J Nowell Sep 22 '12 at 18:35
    
Thanks for your comment.But,it working another blogs on comments .. –  cudjex Sep 22 '12 at 18:49
    
Such as? Examples or it didn't happen –  Tom J Nowell Sep 23 '12 at 16:25
    
im solved problem.i added the to synatc highlighter class page :add_filter( 'get_comment_text', array( &$this, 'parse_shortcodes_comment' ), 7 ); // Comments –  cudjex Sep 23 '12 at 22:11
    
Could you post that as an answer and mark it as accepted? –  Tom J Nowell Sep 23 '12 at 22:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.