Skip to:
Content
Pages
Categories
Search
Top
Bottom

Post code between backticks

  • Avatar of Boone Gorges
    Boone Gorges
    Keymaster

    @boonebgorges

    The use of backticks for displaying code in forums has now been activated on buddypress.org. Check it out!

    `function tell_the_truth() {
    global $current_user;
    get_currentuserinfo();
    if ( $current_user->user_login == ‘boonebgorges’ )
    echo ‘Boone, you are the bomb dot com.’
    }
    add_action( ‘wp_head’, ‘tell_the_truth’ );
    `

Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.