No fancy, complicated syntax highlighting here. The goal of this plugin is to allow your bbPress users to post code snippets in their forum topics and replies without having to learn anything new. Basically, any raw HTML/PHP posted within
<code> tags will automatically be converted and displayed in the forum as you’d expect it would.
And additionally, anything posted within
<pre> tags will be automatically escaped from bbPress applying wpautop. This will allow for your forum users’ code snippets to keep their whitespace as they intend.
bbpress-code-snippetsfolder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
There are no reviews for this plugin.
Contributors & Developers
“bbPress Code Snippets” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Improved posting code snippets overall for non-admin users.
- Fixed is’sues with not accepting many HTML tags in code snippets non-admin users.
- Fixed is’sue with
rel="nofollow"getting added to
<a>tags in code snippets.
- Fixed is’sue with URL’s in code snippets becoming clickable links.
- Fixed URL’s being transformed into clickable links from happenning within
<pre>tag to WordPress’s global $allowedtags so non-admin users can actually post with the
- This is the first release.