The plugin is still alive and receives updates :-)
]]>PHP 7 compatibility issues were fixed in 0.9.10
]]>Which version of PHP do you use?
]]>I am facing this error when I try to use your plugin. The error occurs even when I’am on the “setting” page on the “preview” section.
As you can see, I’m running WordPress locally using Wamp server.
1 | Fatal error: Call to private method CodeColorer::performHighlightCodeBlock() from context '' in C:\wamp\www\wordpress\wp-content\plugins\codecolorer\codecolorer-core.php on line 55 |
Any idea ?
Thnaks
]]>I’m getting this error when using PHP7:
1 | preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead in wp/wp-content/plugins/codecolorer/codecolorer-core.php on line 49 |
1 | <code lang="html"> |
??
]]>Add the following code to your functions.php;
1 2 3 4 5 6 | function t4a_bbp_shortcodes( $content, $reply_id ) { return codecolorer_highlight( $content ); } add_filter('bbp_get_reply_content', 't4a_bbp_shortcodes', 10, 2); add_filter('bbp_get_topic_content', 't4a_bbp_shortcodes', 10, 2); |