<?php
$theme_option = get_option(BUNCH_NAME.'_theme_options');
$service_slug = bunch_set($theme_option , 'service_permalink' , 'services') ;
$projects_slug = bunch_set($theme_option , 'projects_permalink' , 'projects') ;
$team_slug = bunch_set($theme_option , 'team_permalink' , 'teams') ;
$testimonial_slug = bunch_set($theme_option , 'testimonial_permalink' , 'testimonials') ;
$faqs_slug = bunch_set($theme_option , 'faqs_permalink' , 'faqs') ;
$options = array();
$options['bunch_services'] = array(
								'labels' => array(__('Service', BUNCH_NAME), __('Service', BUNCH_NAME)),
								'slug' => $service_slug ,
								'label_args' => array('menu_name' => __('Services', BUNCH_NAME)),
								'supports' => array( 'title' , 'editor' , 'thumbnail' ),
								'label' => __('Service', BUNCH_NAME),
								'args'=>array(
										'menu_icon'=>'dashicons-products' , 
										'taxonomies'=>array('services_category')
								)
							);
							
$options['bunch_projects'] = array(
								'labels' => array(__('Projects', BUNCH_NAME), __('Projects', BUNCH_NAME)),
								'slug' => $projects_slug ,
								'label_args' => array('menu_name' => __('Projects', BUNCH_NAME)),
								'supports' => array( 'title' , 'editor' , 'thumbnail'),
								'label' => __('Projects', BUNCH_NAME),
								'args'=>array(
											'menu_icon'=>'dashicons-format-gallery' , 
											'taxonomies'=>array('projects_category')
								)
							);							
							
$options['bunch_team'] = array(
								'labels' => array(__('Team', BUNCH_NAME), __('Team', BUNCH_NAME)),
								'slug' => $team_slug ,
								'label_args' => array('menu_name' => __('Teams', BUNCH_NAME)),
								'supports' => array( 'title', 'editor' , 'thumbnail'),
								'label' => __('Team', BUNCH_NAME),
								'args'=>array(
											'menu_icon'=>'dashicons-groups' , 
											'taxonomies'=>array('team_category')
								)
							);
$options['bunch_testimonials'] = array(
								'labels' => array(__('Testimonial', BUNCH_NAME), __('Testimonial', BUNCH_NAME)),
								'slug' => $testimonial_slug ,
								'label_args' => array('menu_name' => __('Testimonials', BUNCH_NAME)),
								'supports' => array( 'title' , 'editor' , 'thumbnail' ),
								'label' => __('Testimonial', BUNCH_NAME),
								'args'=>array(
										'menu_icon'=>'dashicons-testimonial' , 
										'taxonomies'=>array('testimonials_category')
								)
							);
$options['bunch_faqs'] = array(
								'labels' => array(__('FAQs', BUNCH_NAME), __('FAQs', BUNCH_NAME)),
								'slug' => $faqs_slug ,
								'label_args' => array('menu_name' => __('FAQs', BUNCH_NAME)),
								'supports' => array( 'title' , 'editor' , 'thumbnail' ),
								'label' => __('FAQs', BUNCH_NAME),
								'args'=>array(
										'menu_icon'=>'dashicons-testimonial' , 
										'taxonomies'=>array('faqs_category')
								)
							);
