Title: Custom HTML/PHP Post Templates
Author: Stephen AfamO
Published: <strong>2016년 12월 22일</strong>
Last modified: 2017년 7월 9일

---

플러그인 검색

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://s.w.org/plugins/geopattern-icon/html-php-pages-and-posts.svg)

# Custom HTML/PHP Post Templates

 작성자: [Stephen AfamO](https://profiles.wordpress.org/stephenafamo/)

[다운로드](https://downloads.wordpress.org/plugin/html-php-pages-and-posts.2.0.0.zip)

 * [세부사항](https://ko.wordpress.org/plugins/html-php-pages-and-posts/#description)
 * [평가](https://ko.wordpress.org/plugins/html-php-pages-and-posts/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/html-php-pages-and-posts/#installation)
 * [개발](https://ko.wordpress.org/plugins/html-php-pages-and-posts/#developers)

 [지원](https://wordpress.org/support/plugin/html-php-pages-and-posts/)

## 설명

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' );
    ```

## 설치

 1. Upload `html-php-pages-and-posts` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

  Installation Instructions

 1. Upload `html-php-pages-and-posts` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

  What about external JS and CSS files?

You 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' />`

  Will template tags work in my custom templates?

Yes.
 All wordpress functions, and any installed plugin function will work if called
properly

  What post types will this work with?

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.

## 후기

![](https://secure.gravatar.com/avatar/dd6b1b16bed8b4cfb74969006f1f6b496b6c9d3ef4f018eea261de6a11ab28ba?
s=60&d=retro&r=g)

### 󠀁[just save my life](https://wordpress.org/support/topic/just-save-my-life/)󠁿

 [aladinDr](https://profiles.wordpress.org/aladin007463/) 2017년 9월 19일 답글 1
개

with this plugin i added mmore than 17 custom php for one of my clients without 
scary to fall in 500 error … just good job guys

![](https://secure.gravatar.com/avatar/924ae5210edf116347cd57c370a6bc968a3df28ba6710f3636cd4442859a5af8?
s=60&d=retro&r=g)

### 󠀁[Works like a charm](https://wordpress.org/support/topic/works-like-a-charm-930/)󠁿

 [Stephen AfamO](https://profiles.wordpress.org/stephenafamo/) 2017년 1월 19일

I use this on a couple sites I own and it works wonderfully. I hope you can find
it useful.

 [ 모든 2 평가 읽기 ](https://wordpress.org/support/plugin/html-php-pages-and-posts/reviews/)

## 기여자 & 개발자

“Custom HTML/PHP Post Templates”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이
이 플러그인에 기여하였습니다.

기여자

 *   [ Stephen AfamO ](https://profiles.wordpress.org/stephenafamo/)

[자국어로 “Custom HTML/PHP Post Templates”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/html-php-pages-and-posts)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/html-php-pages-and-posts/)
는, [SVN 저장소](https://plugins.svn.wordpress.org/html-php-pages-and-posts/)를 
확인하시거나, [개발 기록](https://plugins.trac.wordpress.org/log/html-php-pages-and-posts/)
을 [RSS](https://plugins.trac.wordpress.org/log/html-php-pages-and-posts/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 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

## 기초

 *  버전 **2.0.0**
 *  최근 업데이트: **9년 전**
 *  활성화된 설치 **60+**
 *  워드프레스 버전 ** 3.0.1 또는 그 이상 **
 *  다음까지 시험됨: **4.8.30**
 *  언어
 * [English (US)](https://wordpress.org/plugins/html-php-pages-and-posts/)
 * 태그:
 * [custom pages](https://ko.wordpress.org/plugins/tags/custom-pages/)[custom posts](https://ko.wordpress.org/plugins/tags/custom-posts/)
   [custom templates](https://ko.wordpress.org/plugins/tags/custom-templates/)[html](https://ko.wordpress.org/plugins/tags/html/)
   [php](https://ko.wordpress.org/plugins/tags/php/)
 *  [고급 보기](https://ko.wordpress.org/plugins/html-php-pages-and-posts/advanced/)

## 평점

 별 5점 만점에 5점.

 *  [  2/5-별점 후기     ](https://wordpress.org/support/plugin/html-php-pages-and-posts/reviews/?filter=5)
 *  [  0/4-별점 후기     ](https://wordpress.org/support/plugin/html-php-pages-and-posts/reviews/?filter=4)
 *  [  0/3-별점 후기     ](https://wordpress.org/support/plugin/html-php-pages-and-posts/reviews/?filter=3)
 *  [  0/2-별점 후기     ](https://wordpress.org/support/plugin/html-php-pages-and-posts/reviews/?filter=2)
 *  [  0/1-별점 후기     ](https://wordpress.org/support/plugin/html-php-pages-and-posts/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/html-php-pages-and-posts/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/html-php-pages-and-posts/reviews/)

## 기여자

 *   [ Stephen AfamO ](https://profiles.wordpress.org/stephenafamo/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/html-php-pages-and-posts/)

## 기부

이 플러그인이 발전하도록 도우시겠습니까?

 [ 이 플러그인에 기부하기 ](http://stephenafamo.com)