More Related Content
Similar to WordPress Meetup for Theme (20)
WordPress Meetup for Theme
- 1. WordPress Theme WordPress Meetup
2012.11.17
@ssamture
By 임민형 ssamture@gmail.com
http://ssamture.net
(http://kopress.kr)
- 28. 워드프레스 디자인
header
(nav)
content sidebar
footer
- 34. index.php 예제
single_cat_title()
the_title()
the_category(),the_author(), the_date()
the_post_thumbnail()
the_exerpt()
- 39. 그 밖의 템플릿 파일
comments.php
page.php
front-page.php
home.php
single.php
category.php
tag.php
archive.php 등
- 41. page 템플릿 활용
템플릿을 위한 PHP 파일 생성 후 상단에 기재
Teplate name : 템플릿 명
유의 사항
WP V 3.4 미만 에서는 테마 상위 폴더에 위치
- /테마/템플릿 파일.php(O)
- /테마/서브디렉토리/템플릿 파일.php(x)
- 42. page 템플릿 활용
템플릿을 위한 PHP 파일 생성 후 상단에 기재
Teplate name : 템플릿 명
유의 사항
WP V 3.4 미만 에서는 테마 상위 폴더에 위치
- /테마/템플릿 파일.php(O)
- /테마/서브디렉토리/템플릿 파일.php(x)
- 50. 커스텀 포스트 타입을 위한 템플릿
single-{post_type}.php
arhcive-{post_type}.php
single.php single-{post_type}.php