Use your HTML or PHP files for any page or post.
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:
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' );
html-php-pages-and-posts
to the /wp-content/plugins/
directoryhtml-php-pages-and-posts
to the /wp-content/plugins/
directoryYou can upload it all into the media library. Simply reference them properly in the html file.
e.g. <link rel='stylesheet' href='http://example.com/wp-content/2017/01/my_custom_stylesheet.css' type='text/css' />
Yes.
All wordpress functions, and any installed plugin function will work if called properly
By default, it can only be used by on pages and posts, but you can add any other post type by hooking into the hppp_post_types
filter.