πŸ”₯ Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer β†’
Account Get it free
File Inliner icon
Possibly abandoned Tested up to 2.7.1 #99 in code

File Inliner

This plugin displays the content of a file in a post.

Active installs10+10+ tier
Downloads Β· 30d72β–² +140% vs prev. 30d
Ratingβ€”0 reviews
Health score23/100At risk
All-time downloads4.1KSince Jun 2008
Support resolvedβ€”No recent threads
RequiresWP 2.0PHP any
Downloads Β· 7d18β€’ 0% week over week
Our verdict

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 & support

Daily downloads

123Sep 4Oct 18Dec 2
Yesterday3
Daily average (1y)1
Peak day7Jun 8, 2026
Last 12 months455

Download spikes usually follow a new release β€” each site that auto-updates counts as a download.

Rankings

Where File Inliner stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
code >100 10,000 Best code plugins β†’
files >100 10,000 Best files plugins β†’
inline >100 8,021 Best inline plugins β†’
text >100 10,000 Best text plugins β†’

Version adoption

Share of active sites per release.

  • 1.2100.0%

About File Inliner

From the official readme Β· v1.2.0

Description

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

  1. Upload fileinliner.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Screenshots

Inlining of a text file
Inlining of a text file
Inlining of a C++ file, with syntax highlighting (using CodeHighlighter)
Inlining of a C++ file, with syntax highlighting (using CodeHighlighter)
Inlining of a Python file, with syntax highlighting (using CodeHighlighter),
and a download link
Inlining of a Python file, with syntax highlighting (using CodeHighlighter), and a…
Inlining of some lines of a Python file, with syntax highlighting (using
CodeHighlighter), and a download link
Inlining of some lines of a Python file, with syntax highlighting (using…

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.

Active installs badge Rating badge Health score badge

Best File Inliner alternatives

All code plugins β†’
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager WPCode Easily add code snippets in WordPress. Insert header & footer scripts, add PHP code… by Syed Balkhi 3M+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.9 (1.9K) 3 weeks ago 97
2 Code Snippets Code Snippets Manage custom WordPress code in one dashboard. Create PHP and HTML snippets, preview code… by Code Snippets Pro 1M+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.7 (512) 1 week ago 92
3 Head & Footer Code Head & Footer Code Easy add site-wide, category and article specific custom code before the closing and , or… by Aleksandar UroΕ‘eviΔ‡ 100K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 5 (51) 3 months ago 71
4 Simple Custom CSS Plugin Simple Custom CSS Plugin Add Custom CSS to your WordPress site without any hassles. by John Regan 100K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.7 (159) 2 years ago 51
5 Shortcoder β€” Create Shortcodes for Anything Shortcoder β€” Create Shortcodes for Anything Create custom "Shortcodes" easily for HTML, JavaScript, CSS code snippets and use the… by vaakash 100K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.9 (227) 3 months ago 77
6 Scripts n Styles Scripts n Styles This plugin allows Admin users to individually add HTML, custom CSS, Classes and JavaScript… by WraithKenny 30K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.4 (30) 3 years ago 45
7 SyntaxHighlighter Evolved SyntaxHighlighter Evolved Easily post syntax-highlighted code to your site without having to modify the code at all… by Alex Mills 20K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.3 (86) 19 hours ago 91
8 Code Embed Code Embed Code Embed provides a very easy and efficient way to embed code (JavaScript, CSS and HTML)… by David Artiss 10K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.4 (45) 1 week ago 87
9 Advance Custom HTML – Show Live Code, Share Snippets, Embed Code, and Style Them Your Way. Advance Custom HTML Advance Custom HTML lets you write and display HTML, CSS, PHP, and other code snippets on… by bPlugins 10K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 2.5 (4) 1 day ago 68
10 Highlighting Code Block Highlighting Code Block Add code block with syntax highlighting using prism.js. (Available for Gutenberg and… by LOOS 10K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.5 (20) 5 months ago 62

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

↑↓ to move↡ to open