bbPress2 BBCode

This plugin adds support for bbcode markup to wordpress, bbpress and buddypress.
It integrates with the ‘bbPress shortcode whitelist’ plugin to provide a safe
way of enabling BBCode without giving your users access to all shortcodes.

Font size: [size=10]10px font size[/size]
Ordered lists: [ol][li][/li][/ol]
Unordered lists: [ul][li][/li][/ul]
List Item: [li]item[/li]
Named Spoiler: [spoiler=two plus two]four[/spoiler]
Unnamed Spoiler: [spoiler]Boo![/spoiler]
Contents appear to logged in users only: [user]This is a secret message[/user]
Contents appear to non-logged in users only: [guest]Log in to see secret message…[/guest]

I have enhanced support for the [url] and [quote] tags, and added potentially
useful css style class names in the html output of the tags, to allow for
exciting theming potential.

For example:

will render as:

Or if NAME matches the login name of a user on the system, it will render as:

Where DISPLAY_NAME is the display name that user. With BuddyPress installed the name
also becomes a link to their profile page, otherwise if bbPress is installed, it becomes a
link to their forum user page.

0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录