사용자 정의 필드 사용자 정의 필드 전체 출력 the_meta() 특정 필드만 출력 get_post_meta( $post_id, $key, $single ) $post_id : 글의 아이디 $key : 사용자 정의 필드 이름 $single : true면 문자열로 반환하고, false 또는 설정하지 않으면 배열로 반환 echo get_post_meta( get_the_ID(), 'weather', true ); if ( get_post_meta( get_the_ID(), 'color', true […]