Hi, fixed the issue, edited the bbpress plugin to use this,
if (!class_exists(‘GeSHi’)) {
include_once(“geshi/geshi.php”); }
Thus the class is not reused on wp.
Thanks zaerl for the hint
ok managed to use js to highlight the code. Thanks for help everyone.
ok I managed to activate the plugin,
https://bbpress.org/plugins/topic/bbpresssyntax-hiliter/
by changing my_plugins to bb_plugins and the folder name to bbpress_syntax_hilite.
I checked and js and styles are being loaded in header.
Still, the code is not highlighted
Hi _ck_
Thanks for quick reply. Can you please tell me about the other ways?
This is because the plugin above is not working.
What I need is that someone wraps the code in code tags or pre tags (but not both) and it gets highlighted. I need to highlight java code.
I can edit any existing plugin to suit my requirements, I just need a hint to start.
Looking forward to your reply.
Thanks