'branding', 'name' => __('Site Branding', 'cpocore'), 'type' => 'divider'); $cpotheme_config[] = array( 'id' => 'general_logo', 'name' => __('Custom Logo', 'cpocore'), 'desc' => __('Insert the URL of an image to be used as a custom logo.', 'cpocore'), 'type' => 'upload'); $cpotheme_config[] = array( 'id' => 'general_logo_width', 'name' => __('Custom Logo Width', 'cpocore'), 'desc' => __('Forces the logo to have a specified width, in pixels. You can use an image twice as big to scale down the actual logo, and get a better result in high-resolution screens.', 'cpocore'), 'type' => 'text', 'width' => '100px'); $cpotheme_config[] = array( 'id' => 'general_favicon', 'name' => __('Custom Favicon', 'cpocore'), 'desc' => __('Insert the URL of an image to be used as a custom favicon. Recommended sizes are 16x16 pixels.', 'cpocore'), 'type' => 'upload'); $cpotheme_config[] = array( 'id' => 'general_texttitle', 'name' => __('Enable Text Title?', 'cpocore'), 'desc' => __('Activate this to display the site title as text.', 'cpocore'), 'type' => 'yesno', 'std' => '0'); return $cpotheme_config; } } if(!function_exists('cpotheme_metadata_management')){ function cpotheme_metadata_management(){ $cpotheme_config = array(); //Management $cpotheme_config[] = array( 'id' => 'management', 'name' => __('Management', 'cpocore'), 'type' => 'divider'); $cpotheme_config[] = array( 'id' => 'general_editlinks', 'name' => __('Activate Edit Links?', 'cpocore'), 'desc' => __('Activate this option to display shortcut edit links through out the site for logged in users.', 'cpocore'), 'type' => 'yesno', 'std' => '1'); return $cpotheme_config; } } if(!function_exists('cpotheme_metadata_customization')){ function cpotheme_metadata_customization(){ $cpotheme_config = array(); //Customization $cpotheme_config[] = array( 'id' => 'customization', 'name' => __('Customization', 'cpocore'), 'type' => 'divider'); $cpotheme_config[] = array( 'id' => 'general_css', 'name' => __('Custom CSS', 'cpocore'), 'desc' => __('Here you can insert custom CSS styling for the entire site. This code will override the default stylesheet, but it might not have higher priority than plugins.', 'cpocore'), 'type' => 'code', 'format' => 'css'); return $cpotheme_config; } } if(!function_exists('cpotheme_metadata_layout')){ function cpotheme_metadata_layout(){ $cpotheme_config = array(); //General Layout $cpotheme_config[] = array( 'id' => 'general_layout', 'name' => __('General Layout', 'cpocore'), 'type' => 'divider'); $cpotheme_config[] = array( 'id' => 'home_posts', 'name' => __('Enable Posts On Homepage', 'cpocore'), 'desc' => __('Displays a listing of the most recent posts on the homepage, turning your site into a blog. If you wish to have a custom homepage, turn this option off.', 'cpocore'), 'type' => 'yesno', 'std' => '0'); $cpotheme_config[] = array( 'id' => 'general_credit', 'name' => __('Enable Credit Link', 'cpocore'), 'desc' => __('Enables a small, non-obtrusive credit link in the footer. If you decide to activate it, thanks a lot for supporting CPOThemes!', 'cpocore'), 'type' => 'yesno', 'std' => '0'); return $cpotheme_config; } }