Title: bbPress Code Snippets
Author: Jason
Published: <strong>octobre 21, 2012</strong>
Last modified: février 18, 2013

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/bbpress-code-snippets.svg)

# bbPress Code Snippets

 By [Jason](https://profiles.wordpress.org/themeblvd/)

[Download](https://downloads.wordpress.org/plugin/bbpress-code-snippets.1.0.3.zip)

 * [Details](https://tah.wordpress.org/plugins/bbpress-code-snippets/#description)
 * [Reviews](https://tah.wordpress.org/plugins/bbpress-code-snippets/#reviews)
 *  [Installation](https://tah.wordpress.org/plugins/bbpress-code-snippets/#installation)
 * [Development](https://tah.wordpress.org/plugins/bbpress-code-snippets/#developers)

 [Support](https://wordpress.org/support/plugin/bbpress-code-snippets/)

## Description

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 `<pre>` 
or `<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.

## Installation

 1. Upload `bbpress-code-snippets` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Reviews

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

 *   [ Jason ](https://profiles.wordpress.org/themeblvd/)

[Translate “bbPress Code Snippets” into your language.](https://translate.wordpress.org/projects/wp-plugins/bbpress-code-snippets)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/bbpress-code-snippets/),
check out the [SVN repository](https://plugins.svn.wordpress.org/bbpress-code-snippets/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/bbpress-code-snippets/)
by [RSS](https://plugins.trac.wordpress.org/log/bbpress-code-snippets/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.3

 * Improved posting code snippets overall for non-admin users.
 * Fixed issues with not accepting many HTML tags in code snippets non-admin users.
 * Fixed issue with `rel="nofollow"` getting added to `<a>` tags in code snippets.
 * Fixed issue with URL’s in code snippets becoming clickable links.

#### 1.0.2

 * Fixed URL’s being transformed into clickable links from happenning within `<pre
   >` tags.

#### 1.0.1

 * Added `<pre>` tag to WordPress’s global $allowedtags so non-admin users can actually
   post with the `<pre>` tag.

#### 1.0.0

 * This is the first release.

## Meta

 *  Version **1.0.3**
 *  Last updated **13 années ago**
 *  Active installations **10+**
 *  Language
 * [English (US)](https://wordpress.org/plugins/bbpress-code-snippets/)
 * Tags
 * [bbPress](https://tah.wordpress.org/plugins/tags/bbpress/)[code](https://tah.wordpress.org/plugins/tags/code/)
   [pre](https://tah.wordpress.org/plugins/tags/pre/)[topics](https://tah.wordpress.org/plugins/tags/topics/)
 *  [Advanced View](https://tah.wordpress.org/plugins/bbpress-code-snippets/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/bbpress-code-snippets/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/bbpress-code-snippets/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/bbpress-code-snippets/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/bbpress-code-snippets/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/bbpress-code-snippets/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/bbpress-code-snippets/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/bbpress-code-snippets/reviews/)

## Contributors

 *   [ Jason ](https://profiles.wordpress.org/themeblvd/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/bbpress-code-snippets/)