Wordpress GURU needed

Discussion in 'WordPress' started by Mr.Bill, Jan 19, 2008.

  1. #1
    I am trying to learn how to use this script and have run into a problem when I try to add something like to a post I am writing in wordpress. Have tried with the editor on and off

    <limit GET HEAD POST>
    order allow,deny
    deny from 58.14.0.0/15
    allow from all
    </limit>
    Code (markup):
    I try to put it in the code tags but it removes the
    <limit GET HEAD POST>
    Code (markup):
    and
    </limit>
    Code (markup):
    So it ends up looking like this

    order allow,deny
    deny from 58.14.0.0/15
    allow from all
    Code (markup):
    how do make it so it will display this correctly in the post?

    End result should look like this in the post
    <limit GET HEAD POST>
    order allow,deny
    deny from 58.14.0.0/15
    allow from all
    </limit>
    Code (markup):

     
    Mr.Bill, Jan 19, 2008 IP
  2. YIAM

    YIAM Notable Member

    Messages:
    2,480
    Likes Received:
    240
    Best Answers:
    0
    Trophy Points:
    280
    #2
    Tried this? :
     
    YIAM, Jan 19, 2008 IP
    Mr.Bill likes this.
  3. Mr.Bill

    Mr.Bill Well-Known Member

    Messages:
    2,818
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    160
    #3
    Thank you very much works perfect.
     
    Mr.Bill, Jan 19, 2008 IP
    YIAM likes this.
  4. OSWebMaster

    OSWebMaster Guest

    Messages:
    71
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi There -

    You already got a good answer, but if you'd like to do it yourself in the future, try:

    "Postable" (a free online conversion service for posting code in a "friendly" way).

    Another thing you can do, should Postable not be accessible, or you can't find another online conversion service (there are a couple more if you Google around a bit -- here's on on steroids), is just use an ASCII Character Code list...
    XHTML Character Entity Reference

    Yours -
    Scott
     
    OSWebMaster, Jan 19, 2008 IP
  5. Mr.Bill

    Mr.Bill Well-Known Member

    Messages:
    2,818
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    160
    #5
    Now that is pretty cool thanks. For those resources
     
    Mr.Bill, Jan 19, 2008 IP
  6. Houdy

    Houdy Peon

    Messages:
    267
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I know some purists shun a WYSIWYG editor but I use the TinyMCE Advanced plugin. It adds more advanced features to the Visual editor in WordPress. To paste code in a post you can use the option to paste in "Word" format (MS Word) with a little W icon. It will display the code just as you paste it.
     
    Houdy, Jan 19, 2008 IP
  7. Mr.Bill

    Mr.Bill Well-Known Member

    Messages:
    2,818
    Likes Received:
    134
    Best Answers:
    0
    Trophy Points:
    160
    #7
    Thank you for that Houdy. I appreciate it
     
    Mr.Bill, Jan 19, 2008 IP