페이지 템플릿(Page Templates) 추가하기
전역적으로 사용 할 수 있는 템플릿을 만들려면
파일을 생성하고 제일 위쪽에 주석으로 템플릿 이름을 쓰고 테마 폴더에 저장한다.
To create a global template, write an opening PHP comment at the top of the file that states the template’s name.
<?php
/* Template Name: My Templage */
페이지>> 새로만들기>> 페이지 속성> 템플릿
Pages>> Add New>> Page Attributes> Template
반복되는 페이지를 만들때 유융하게 활용할 수 있다.
728x90
'Framework > Wordpress' 카테고리의 다른 글
[Wordpress] 결제 항목 순서 변경 (0) | 2017.11.14 |
---|---|
[Wordpress] 우커머스에서 페이팔 연동시 주의사항 (Checkout with Paypal on Woocommerce) (0) | 2017.11.06 |
[Wordpress] 플러그인(Plugin) super socializer (0) | 2017.10.30 |
[Wordpress] 로컬(내 컴퓨터)에 워드프레스 설치 하기 (0) | 2017.07.16 |