Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP-Syntax Download Extension

This plug-in makes WP-Syntax highlighted code snippets downloadable from nice captions.

This plug-in adds download facility to WP-Syntax, putting a pretty caption to each syntax highlighted code snippet, which contains a permalink anchor and a couple of action buttons: "raw" and "download".

The usage is easy. You just put an attibute filename="..." to a <pre> element and the snippet will have a caption.

I strongly recommend that you use the TinyMCE Valid Elements plug-in to make the non-standard attributes of the <pre> element treated as valid and get preserved in the visual editor. Configure it so that the pre element can have the following attributes:

  • class
  • dir
  • escaped
  • filename
  • highlight
  • id
  • lang
  • line
  • style
  • title
  • wrap

You can alter the visual style of captions with CSS via admins menu. This plug-in was first developed for PHP 5.2.12 and is currently tested only with 5.4. It will never work with PHP 4.

Requires: 3.0 or higher
Compatible up to: 3.4.2
Last Updated: 3 years ago
Active Installs: 100+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1