File Inliner
This plugin displays the content of a file in a post.
Consider an alternative
File Inliner shows warning signs in 2026 β compare the alternatives below before installing. It runs on 10+ sites and was last updated 18 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.7 (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 File Inliner stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| code | >100 |
| files | >100 |
| inline | >100 |
| text | >100 |
Version adoption
Share of active sites per release.
About File Inliner
From the official readme Β· v1.2.0Description
This plugin displays the content of a file in a post. The content of the file
(called a “snippet”) is put in a <pre></pre> block by default.
It has the following advantages over pasting the content of the file in your post
yourself:
- When the file is modified, no need to modify the posts referring to it
- Indentation is preserved by default (useful to show code snippets)
- Can optionally provide a link to the file (no need to copy-paste your snippet)
If requested (see the preserveformat parameter), the content of the file
is put in a <div></div> block, with each line (delimited by
the carriage return) in its own <p></p> block.
Usage
Syntax: [file lang="some_lang" start="a_line_number" end="a_line_number" link="on_or_off" style="some_style_properties" preserveformat="on_or_off"]path/to/your/file[/file]
Note: The order of the attributes is mandatory!
Example: Inlining of a file
In your post, write [file]path/to/your/file[/file]. That’s it!
Example: Using a syntax highlighter plugin
If you write [file lang="cpp"]path/to/your/file[/file] (for instance),
and if the syntax highlighter plugin you use supports
the <pre lang="*"></pre> syntax (most does), then the content
of your file will be processed by the syntax highlighter plugin as usual.
Example: Provide a link to the file
If you write [file link="on"]path/to/your/file[/file], a link will
be automatically added to the top left of the text area.
Example: Inline a subset of a file
If you write [file start="10" end="20"]path/to/your/file[/file],
only the lines 10 to 20 of the file will be displayed. You can omit the start
(ie. “from beginning to line 20”) or the end (ie. “from line 10 to the end of
the file”) if you want.
Example: Set the color of the text to red
In your post, write [file style="color: #FF0000;"]path/to/your/file[/file].
Example: Prevent the plugin to process a [file][/file] block
Just write [file off]your content[/file].
Note: The ‘off’ attribute must come BEFORE any other ones.
Installation
- Upload
fileinliner.phpto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
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 File Inliner alternatives
All code plugins βFAQ
File Inliner: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is File Inliner free?
Yes. File Inliner is free to download and use from the official WordPress.org plugin directory.
Is File Inliner safe to use in 2026?
File Inliner shows warning signs in 2026 β compare the alternatives below before installing. It runs on 10+ sites and was last updated 18 years ago, and scores 23/100 on our health check.
How many websites use File Inliner?
File Inliner is active on 10+ WordPress websites and has been downloaded 4,102 times since it launched in June 2008. It was downloaded 72 times in the last 30 days.
Does File Inliner work with WordPress 7.1?
File Inliner is officially tested up to WordPress 2.7.1, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was File Inliner last updated?
The latest version, 1.2.0, was released on May 14, 2009 (18 years ago).
What are the best alternatives to File Inliner?
The most popular alternatives to File Inliner 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




