External Files
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…
Consider an alternative
External Files shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 17 years ago, and scores 23/100 on our health check.
- Small user base (10+ active installs)
- Very few reviews so far
- No update in 17 years
- Only tested up to WordPress 2.8 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where External Files stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| code | >100 |
| Highlight | >100 |
| scripts | >100 |
Version adoption
Share of active sites per release.
About External Files
From the official readme · v0.1Description
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:
- format can be used to specify a highlighting format, rather than letting the plugin decide which format to use
- start specifies a line number to output from, so sections of a file/url can be shown
- end specifies the line to stop at
See the installation page for usage examples.
The available formats are:
- AS3
- Bash
- Cpp
- CSharp
- Css
- Delphi
- Diff
- Groovy
- Java
- JavaFX
- JScript
- Perl
- Php
- Plain
- PowerShell
- Python
- Ruby
- Scala
- Sql
- Vb
- Xml
Future features
Following is a list of ideas and features to add:
- BASE_PATH and BASE_URL options that can be used in the shortcode to avoid typing the same long path/url each time
- a list of available formats with the checkboxes to enable/disable each individually, thus avoiding having to load all of them
- an option for changing the theme of the syntax highlighter
Installation
- Install the plugin and activate
- In a post or page, type [external]/path/to/your/script.txt[/external]
Examples:
[external]/path/to/file.php[/external]
[external]http://my.website.com/about.html[/external]
[external start=10 end=20]/very/long/script.js[/external]
[external format=xml]/not/really/a-php-document.php[/external]
Changelog
0.1
2009-06-21
* First version! Works for me, comments appreciated.
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best External Files alternatives
All code plugins →FAQ
External Files: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is External Files free?
Yes. External Files is free to download and use from the official WordPress.org plugin directory.
Is External Files safe to use in 2026?
External Files shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 17 years ago, and scores 23/100 on our health check.
How many websites use External Files?
External Files is active on 10+ WordPress websites and has been downloaded 3,097 times since it launched in June 2009. It was downloaded 42 times in the last 30 days.
Does External Files work with WordPress 7.1?
External Files is officially tested up to WordPress 2.8, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was External Files last updated?
The latest version, 0.1, was released on June 21, 2009 (17 years ago).
Who makes External Files?
External Files is developed and maintained by adamh.
What are the best alternatives to External Files?
The most popular alternatives to External Files are WPCode (3M+ installs), Code Snippets (1M+ installs) and Head & Footer Code (100K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
