plugin-icon

Custom HTML/PHP Post Templates

Use your HTML or PHP files for any page or post.
评级
5
最后更新
July 9, 2017
版本
2.0.0
活跃安装
100

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' );
免费使用Creator套餐
活跃安装
100
目前已测试版本
4.8.24
此插件可供下载,可用于您的 WordPress 自托管安装。