External files allows an author to insert the contents of an external file or url into a post, with the text automatically highlighted accordingly.
As of April 2026, External Files is a WordPress code plugin with 10 active installations and a 0/5 rating0. It has been downloaded 2.6K+ times in total. Requires WordPress 2.5+ and PHP false+. Available on WordPress.org since 2009. Last updated 16 years ago — may have compatibility concerns. Top alternative: WPCode – Insert Headers and Footers +….
External files provides a shortcode [external] which can be used to insert the contents of a file or url into the current post or page. The plugin will automatically format the text based on the extension (for files) or mime type (for urls), using Alex Gorbatchevs’ Syntax Highlighter javascript.
The shortcode can accept three optional parameters:
See the installation page for usage examples.
The available formats are:
Fol…
| WordPress | 2.5+ requiredTested up to 2.8 |
| PHP | false+ required |
2009-06-21
* First version! Works for me, comments appreciated.
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.