'layout_sidebar', 'label' => __('Sidebar Position', 'cpocore'), 'desc' => __('Determines the location of the sidebar by default.', 'cpocore'), 'type' => 'imagelist', 'option' => cpotheme_metadata_sidebarposition(), 'std' => 'default'); return apply_filters('cpotheme_metadata_layout', $cpotheme_data); } //Create feature meta fields function cpotheme_metadata_feature_options(){ $cpotheme_data = array(); $cpotheme_data['feature_icon'] = array( 'name' => 'feature_icon', 'std' => '', 'label' => __('Feature Icon', 'cpocore'), 'desc' => __('Sets an icon to be used as the featured element.', 'cpocore'), 'type' => 'iconlist'); return apply_filters('cpotheme_metadata_feature', $cpotheme_data); } //Create portfolio meta fields function cpotheme_metadata_portfolio_options(){ $cpotheme_data = array(); $cpotheme_data['portfolio_featured'] = array( 'name' => 'portfolio_featured', 'std' => '', 'label' => __('Featured Item', 'cpocore'), 'desc' => __('Specifies whether this item appears in the homepage.', 'cpocore'), 'type' => 'yesno'); return apply_filters('cpotheme_metadata_portfolio', $cpotheme_data); } //Create product meta fields function cpotheme_metadata_product_options(){ $cpotheme_data = array(); $cpotheme_data['product_featured'] = array( 'name' => 'product_featured', 'std' => '', 'label' => __('Featured Item', 'cpocore'), 'desc' => __('Specifies whether this item appears in the homepage.', 'cpocore'), 'type' => 'yesno'); return apply_filters('cpotheme_metadata_product', $cpotheme_data); } //Create service meta fields function cpotheme_metadata_service_options(){ $cpotheme_data = array(); $cpotheme_data['service_featured'] = array( 'name' => 'service_featured', 'std' => '', 'label' => __('Featured Item', 'cpocore'), 'desc' => __('Specifies whether this item appears in the homepage.', 'cpocore'), 'type' => 'yesno'); $cpotheme_data['service_icon'] = array( 'name' => 'service_icon', 'std' => '', 'label' => __('Service Icon', 'cpocore'), 'desc' => __('Sets an icon to be used as the service preview.', 'cpocore'), 'type' => 'iconlist'); return apply_filters('cpotheme_metadata_service', $cpotheme_data); }