SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Evangelist
    Join Date
    May 2007
    Location
    Montreal
    Posts
    408
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Wordpress Plugin for PHP Code as Read Only

    Hi

    I want to post some snippets for php in my blog.

    Any plugin that formats the php code, maybe color coded.

    Example, like this sitepoint feature, I can write php code here in my post:

    PHP Code:
    //Replace text below with your file name
    $file_name "file.zip";

    //File gets unzipped in current directory
    exec("unzip -u $file_name"); 
    Thanks,
    Chris

  2. #2
    Non-Member thewebhostingdir's Avatar
    Join Date
    Oct 2005
    Posts
    703
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There are a few wordpress code snipped plugins available. You can also format the code as per your needs.

    One of such plugin http://wordpress.org/extend/plugins/codesnippet-20/

  3. #3
    SitePoint Evangelist
    Join Date
    May 2007
    Location
    Montreal
    Posts
    408
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by thewebhostingdir View Post
    There are a few wordpress code snipped plugins available. You can also format the code as per your needs.

    One of such plugin http://wordpress.org/extend/plugins/codesnippet-20/
    Thanks for the reply. I will test it out.


Bookmarks

Posting Permissions

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