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):
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
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.