Forums

Code In Post (4 posts)

  1. John
    Member
    Posted 2 years ago #

    For the life of me I can not get a couple of lines of html to display as code in a P2 post. I've tried
    <br />
    <pre> </pre>
    and a couple of plug-ins (Google syntax Highlighter did work but was overkill). Any suggestions?
    Thanks.

  2. dains
    Member
    Posted 2 years ago #

    I found this - http://en.support.wordpress.com/code/posting-source-code/
    Apparently there's a new shortcode of some type. No idea if it works on regular WP, needs a plugin, or whatever...

  3. MichaelH
    Volunteer
    Posted 2 years ago #

    It says in the credits on that page you linked that you will need
    http://wordpress.org/extend/plugins/syntaxhighlighter/

  4. John
    Member
    Posted 2 years ago #

    I got something onto the page using Google Syntax Highlighter for WordPress, but it sure doesn't look like poetry. Only wanting to show users the method for adding a YouTube video or mp3 audio to their post.
    Shouldn't be this hard.

Topic Closed

This topic has been closed to new replies.

About this Topic