본문 바로가기

wordpress

테마 새로 만들기

테마 새로 만들기

 

1. 테마폴더 생성

 

- sample 라는 테마를 만들기 위해 폴더 생성

 

wp-content/themes/sample

 

2. 스크린샷과 style.css 파일과 index.php, functions.php 파일 업로드

 

- 스크린샷은 테마로 화면에 보여질 이미지 screenshot.jpg

 

- style.css 는 아래 내용으로 생성한다.

 

/*
Theme Name: Sample Theme
Theme URI: http://www.decowall.co.kr
Description: 커스터마이징 된 테마작업
*/

 

wp-content/themes/sample/index.php 는빈 내용으로 업로드 한다.


wp-content/themes/sample/functions.php 는빈 내용으로 업로드 한다. ( 나중에 넣어도 된다.)

 

3. 위와 같이 하면 일단 새로운 테마가 생성된다.

'wordpress' 카테고리의 다른 글

class 'domdocument' not found in  (0) 2015.11.13
Exifography Plugin  (0) 2015.06.07
특성이미지 리사이즈 문제  (0) 2015.05.17