필드별 알맞은 정보 입력

안녕하세요?

현재 사용하는 테마에서 post글을 보여주고 있습니다.

여기에 kboard 를 추가해서 함께 보여지게 하고싶은데

어떤곳에 어떤 필드를 입력하면 되는지 잘 모르겠네요

switch ($settings['posts_type']) {

			default:
				$neuron_posts_type = 'post';
				$neuron_posts_name = 'blog';
				$neuron_posts_taxonomy = 'category';
				$neuron_posts_normal_query = $settings['posts_query_normal_post'];
				$neuron_posts_metro_query = $settings['posts_query_metro_post'];
				$neuron_posts_wrapper_class = 'l-blog-wrapper';
				$neuron_posts_holder_class = 'l-blog-wrapper__posts-holder l-blog-wrapper__posts-holder--'. $settings['posts_layout_model'] .'';
				$neuron_posts_item_class = 'o-blog-post';
				break;

			case 'kboard':
				$neuron_posts_type = 'kboard';
				$neuron_posts_name = 'kboard';
				$neuron_posts_taxonomy = 'category';
				$neuron_posts_normal_query = $settings['posts_query_normal_post'];
				$neuron_posts_metro_query = $settings['posts_query_metro_post'];
				$neuron_posts_wrapper_class = 'l-blog-wrapper';
				$neuron_posts_holder_class = 'l-blog-wrapper__posts-holder l-blog-wrapper__posts-holder--'. $settings['posts_layout_model'] .'';
				$neuron_posts_item_class = 'o-blog-post';
				break;

           case 'portfolio':
				$neuron_posts_type = 'portfolio';
				$neuron_posts_name = 'portfolio';
				$neuron_posts_taxonomy = 'portfolio_category';
				$neuron_posts_normal_query = $settings['posts_query_normal_portfolio'];
				$neuron_posts_metro_query = $settings['posts_query_metro_portfolio'];
				$neuron_posts_wrapper_class = 'l-portfolio-wrapper';
				$neuron_posts_holder_class = 'l-portfolio-wrapper__items-holder l-portfolio-wrapper__items-holder--'. $settings['posts_layout_model'] . '';
				$neuron_posts_item_class = 'o-portfolio-item';
				break;

			case 'product':
				$neuron_posts_type = 'product';
				$neuron_posts_name = 'shop';
				$neuron_posts_taxonomy = 'product_cat';
				$neuron_posts_normal_query = $settings['posts_query_normal_product'];
				$neuron_posts_metro_query = $settings['posts_query_metro_product'];
				$neuron_posts_wrapper_class = 'l-woocommerce-wrapper';
				$neuron_posts_holder_class = 'l-woocommerce-wrapper__products-holder l-woocommerce-wrapper__products-holder--'. $settings['posts_layout_model'] .'';
				$neuron_posts_item_class = 'product-holder';
				break;
		}

보시면 default 밑에 case1에 Kboard를 삽입하려고 합니다. 

포스트 네임과 포스트타입은 알맞게 입력한거같은데

그 밑에 부터가 문제네요 케이보드는 category1로 시작하는거같은데 그렇게 기입하는게 맞는건지

혹시 저기 기입할수있는 알맞은 코드를 소스상에서 볼수있는 방법은 없을까요?

/plugins/kboard/class

아마 이 폴더에 있을거라 생각되는데

찾지를 못하겠네요

 

도움주시면 감사하겠습니다.

워드프레스 에러 기술지원 서비스 전문가에게 맡기세요
워드프레스 에러 기술지원 서비스 전문가에게 맡기세요
좋은 정보와 인맥을 동시에, 워드프레스 사용자 단톡방 참여하기