Forums

[resolved] Display Code in Posts Like WordPress.com (5 posts)

  1. Unattended
    Member
    Posted 1 year ago #

    Hello all,

    I am looking for a way to display code (PHP, CSS, etc) in a post similar to how it is displayed on WordPress.com:

    http://en.blog.wordpress.com/2007/09/03/posting-source-code/

    This is a great solution, but how do I get it on my own blog not associated with WordPress.com? I know that other sites like nettuts.com have this working.

    Any ideas?

  2. moshu
    Member
    Posted 1 year ago #

    Clicking on the "Extend" at the top of this page - always takes you to the plugins directory, and the search over there works well...

    http://wordpress.org/extend/plugins/syntaxhighlighter-plus/

  3. msnow
    Member
    Posted 7 months ago #

    I am not sure if the sourcecode plug in was there as the Unattended has disappeared. I tried it too but did not find it. I searched by using the words "source code plugin" but a bunch similar results were displayed. I will search around help. BTW, can post the sourcecode without using any plugin like this?

    [sourcecode language='html']

    <b>test</b>

    [/sourcecode]

    It is not working. Any advice?

    Thanks.

  4. MichaelH
    moderator
    Posted 7 months ago #

    Consider using the wp-syntax plugin.
    http://wordpress.org/extend/plugins/wp-syntax/

  5. msnow
    Member
    Posted 7 months ago #

    I'll go there now. Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic