CityCyclingEdinburgh Forum » This site

New bbPress plugin

(1 post)
  • Started 12 years ago by chdot

No tags yet.


  1. chdot
    Admin

    "
    Automatically display HTML/PHP code posted in bbPress topics and replies.

    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

     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.

    "

    Might be useful for some people/circumstances.

    UPDATE - Somewhat ironic that I have had to add extra line returns to make some of the copied/pasted text appear!

    http://customcreative.co.uk/resolving-wpautop-and-shortcodes

    Posted 12 years ago #

RSS feed for this topic

Reply

You must log in to post.


Video embedded using Easy Video Embed plugin