Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2005
    Posts
    521

    Code Snippet in Wordpress

    I would like to post an code example in wordpress, however wordpress changes some chars. I know there is way but I can't figure it out, uggh!

  2. #2
    Join Date
    Feb 2008
    Location
    Houston, Texas, USA
    Posts
    3,262
    It does change single quotes to back quotes. Switch the editing view to HTML and wrap your code around a code tag before adding the b-quote tag.

    Regards
    UNIXy - Fully Managed Servers and Clusters - Established in 2006
    Server Management - Unlimited Servers. Unlimited Requests. One Plan!
    cPanel Varnish Plugin -- Seamless SSL Caching (Let's Encrypt, AutoSSL, etc)
    Slow Site or Server? Unable to handle traffic? Same day performance fix: joe@unixy

Similar Threads

  1. Replies: 1
    Last Post: 07-07-2009, 05:33 PM
  2. Small PHP snippet help
    By kayz in forum Programming Discussion
    Replies: 3
    Last Post: 04-15-2007, 09:33 PM
  3. code snippet - building vertical columns from a mysql result
    By Philco in forum Programming Tutorials
    Replies: 1
    Last Post: 09-16-2006, 03:12 PM
  4. Need wordpress plugin writer to code 3 plugins
    By Joe Kickass in forum Employment / Job Offers
    Replies: 0
    Last Post: 04-30-2006, 01:19 PM
  5. need some php snippet help
    By mjfroggy in forum Programming Discussion
    Replies: 1
    Last Post: 01-02-2005, 03:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •