SyntaxHighlighter vs Brian’s Threaded Comments
March 11th, 2008 Posted in Web Site, WordpressI’ve found that the SyntaxHighlighter and Brian’s Threaded Comments WordPress plugs don’t play well together. I noticed that if I had commetns my code displayed by SyntaxHighlighter the comments would be displayed in boxes above the rest of the code and would not scroll. I looked at the HTML output of my page and noticed a section that was adding style sheet stuff of comments. I disabled the Brian’s Threaded Comments plug-in and the problem went away.
I assume that SyntaxHighligher is picking up the style sheet code added by the comment plug-in. So I editied the comment plug-in code and changed the “comment” style sheet name to “btccomment”. I also edited the comments.php file to use the new “btccomment”. Everything appears to be working fine now.
I’ve submitted the problem to the Brian’s Threaded Comments web page.
You can download the files with my fixes from the link below. This is based on version 1.5.12.
Brian’s Threaded Comments/SyntaxHighlighter Conflict Fix

![[del.icio.us]](http://trailsinthesand.com/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://trailsinthesand.com/wp-content/plugins/bookmarkify/digg.png)
![[Reddit]](http://trailsinthesand.com/wp-content/plugins/bookmarkify/reddit.png)
![[Technorati]](http://trailsinthesand.com/wp-content/plugins/bookmarkify/technorati.png)
Related Articles:

No comments yet.