该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

bbPress Code Snippets

描述

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.

安装

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

评价

此插件暂无评价。

贡献者及开发者

“bbPress Code Snippets” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“bbPress Code Snippets”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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.