How to get CODE tags working in wordpress ?

Discussion in 'WordPress' started by poseidon, Jul 8, 2007.

  1. #1
    I want to wrap code something like this site (it is not wordpress blog but I have seen similar grap box wrapping in many wordpress blogs). My current blog look like this.

    Also in this blog, the author has uses Long line to quote a post, how to do this ? also how to embed google adsense inline, just like the author did ?

    Thanks :)
     
    poseidon, Jul 8, 2007 IP
  2. AmeryWeb

    AmeryWeb Guest

    Messages:
    92
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #2
    To wrap code, you just need to use the code tags...
    <code></code>

    For the quotes, you just need the blockquote tags...
    <blockquote></blockquote>

    When in edit mode, switch to code-view to see the tags in the menu.
    How they look on your published page depends on the theme's css.
     
    AmeryWeb, Jul 9, 2007 IP
    r3born likes this.
  3. sat123

    sat123 Banned

    Messages:
    1,600
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That hits...
     
    sat123, Jul 9, 2007 IP