테마에 지정된 기능을 추가합니다. 자동으로 <title> 태그 를 만들거나나 썸네일을 사용할 수 있게 되는 등의 기능을 지원합니다.
테마 개발자는 반드시 알아야 할 기능입니다. 약 30개의 테마 기능을 추가할 수 있게 됩니다.
add_theme_support('post-thumbnails');테마에서 썸네일을 사용할 수 있게됩니다.
add_theme_support('custom-header');테마에서 사용자 정의 헤더를 사용할 수 있게됩니다.
add_theme_support('title-tag');header 의 <title> 태그를 자동으로 생성합니다. 직접 header에서 만들 필요가 없습니다.
업데이트 일자 : 22-05-24
'admin-bar' // 관리자 상단 바
'align-wide' // 정렬 폭
'automatic-feed-links' // 자동 피드 링크
'core-block-patterns' // 코어 블록 패턴
'custom-background' // 커스텀 배경
'custom-header' // 사용자 정의 헤더 사용
'custom-line-height' // 사용자 정의 라인 높이
'custom-logo' // 사용자 정의 로고 사용
'customize-selective-refresh-widgets' // 사용자 정의 선택 새로고침 위젯
'custom-spacing' // 사용자 정의 간격
'custom-units' // 사용자 정의 유닛
'dark-editor-style' // 다크 에디터 스타일
'disable-custom-colors' // 비활성화 사용자 정의 색상
'disable-custom-font-sizes' // 사용자 정의 글꼴 크기 사용 안함
'editor-color-palette' // 색상 팔레트 편집기
'editor-gradient-presets' // 그라디언트 사전 설정 편집지
'editor-font-sizes' // 글꼴 크기 편집기
'editor-styles' // 편집기 스타일
'featured-content' // 특집 콘텐츠
'html5' // HTML5
'menus' // 메뉴
'post-formats' //포스트 포맷
'post-thumbnails' // 포스트 썸네일
'responsive-embeds' // 반응형 임베드
'starter-content' // 스타터 컨텐츠
'title-tag' // <title> 태그 추가
'wp-block-styles' // wp 블록 스타일
'widgets' // 위젯
'widgets-block-editor' // 위젯 블록 편집기 추가