Custom HTML/PHP Post Templates
This plugin allows you to use any HTML or PHP file as the template for any page or post.
Consider an alternative
Custom HTML/PHP Post Templates shows warning signs in 2026 — compare the alternatives below before installing. It runs on 50+ sites, is rated 5/5 and was last updated 9 years ago, and scores 32/100 on our health check.
- Small user base (50+ active installs)
- Very few reviews so far
- No update in 9 years
- Only tested up to WordPress 4.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 Custom HTML/PHP Post Templa… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| custom pages | >100 |
| custom posts | >100 |
| custom templates | >100 |
| html | >100 |
| php | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 2 reviews
About Custom HTML/PHP Post Templates
From the official readme · v2.0.0Description
This plugin allows you to use any HTML or PHP file as the template for any page or post.
Simply upload the file and select it.
You can upload custom js and css files into the media library and link to them from the HTML file.
Options:
- Overwrite All: You overwrite the entire theme and use your custom file
- Overwrite Content: Keeps the header, footer, sidebar, e.t.c. Simply overwrites the body of the page or post
- Above Content: Your custom content is simply added to the top of the page content
- Below Content: You custom content is placed just beneath the page content.
Adding support for custom post types
By default the pulugin works with pages and posts, however, go to the settings to enable it on any other registered post type.
use the hppp_post_types filter to add more post types.
Like this:
public function post_type_modify ($post_types) {
$post_types[] = 'custom_post_type';
return $post_types;
}
add_filter( 'hppp_post_types', 'post_type_modify' );
Installation
- Upload
html-php-pages-and-poststo the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Changelog
2.0.0
- Add settings page to enable support for any registered post type
- Allow users to set default template for any registered post type
1.1.0
- Add filter hook to modify supported post_types
1.0.0
- First release
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 Custom HTML/PHP Post Templates alternatives
All custom pages plugins →FAQ
Custom HTML/PHP Post Templates: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Custom HTML/PHP Post Templates free?
Yes. Custom HTML/PHP Post Templates is free to download and use from the official WordPress.org plugin directory.
Is Custom HTML/PHP Post Templates safe to use in 2026?
Custom HTML/PHP Post Templates shows warning signs in 2026 — compare the alternatives below before installing. It runs on 50+ sites, is rated 5/5 and was last updated 9 years ago, and scores 32/100 on our health check.
How many websites use Custom HTML/PHP Post Templates?
Custom HTML/PHP Post Templates is active on 50+ WordPress websites and has been downloaded 8,786 times since it launched in December 2016. It was downloaded 128 times in the last 30 days.
Does Custom HTML/PHP Post Templates work with WordPress 7.1?
Custom HTML/PHP Post Templates is officially tested up to WordPress 4.8.35, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Custom HTML/PHP Post Templates last updated?
The latest version, 2.0.0, was released on July 9, 2017 (9 years ago).
Who makes Custom HTML/PHP Post Templates?
Custom HTML/PHP Post Templates is developed and maintained by Stephen AfamO.
What are the best alternatives to Custom HTML/PHP Post Templates?
The most popular alternatives to Custom HTML/PHP Post Templates are Export Custom Pages (600+ installs), Display custom fields in th… (500+ installs) and WP Page Templates (300+ 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
