Hi guys,
My page have two columns. On the left I want to show posts with 'Latest News' taxonomy selected. On the right I want to show 'Events'. Both work and they are pulling in data. However, when I save them. They switch to the same category (in the admin panel). I tried both select and select advanced and a mix of the two.
Here is my code:
array(
'id' => 'latest_news_cat',
'name' => __( 'Latest News Category', 'latestnews' ),
'tab' => 'latest_news_section',
'placeholder' => 'Select ...',
'type' => 'taxonomy',
//'taxonomy' => 'categories',
'field_type' => 'select_advanced',
'query_args' => array(),
'js_options' => array( 'multiple' => false, ),
'multiple' => false,
),
array(
'id' => 'events_cat',
'name' => __( 'Events Category', 'eventscategory' ),
'tab' => 'latest_news_section',
'placeholder' => 'Select ...',
'type' => 'taxonomy',
//'taxonomy' => 'categories',
'field_type' => 'select_advanced',
'query_args' => array(),
'js_options' => array( 'multiple' => false, ),
'multiple' => false,
),