コード例 #1
0
/* Background */
$page_content[] = array('section' => 'background', 'icon' => 'fa-picture-o', 'name' => __('Background', 'ROEN'), 'title' => __('Background Setting', 'ROEN'), 'elements' => array('background_enable' => array('title' => __('Enable Custom Background Setting', 'ROEN'), 'name' => __('Enable Custom Background', 'ROEN'), 'type' => 'pe', 'property' => 'custom-background-enable', 'enable-element' => 'yes', 'enable-id' => '1-pe_custom_background', 'enable-group' => 'pe_custom_background_group'), 'background_setting' => array('title' => __('Body Background Setting', 'ROEN'), 'type' => 'moreline', 'enabled-id' => 'pe_custom_background', 'enable-group' => 'pe_custom_background_group', 'moreline' => array('background_type' => array('name' => __('Body Background Type', 'ROEN'), 'type' => 'radio', 'property' => 'global-bg-type', 'radios' => array(__('Pattern', 'ROEN'), __('Image', 'ROEN'), __('Color', 'ROEN')), 'enable-element' => 'yes', 'enable-id' => '0-global_bg_type_pattern:1-global_bg_type_image:2-global_bg_type_color', 'enable-group' => 'global_bg_type_group'), 'background_pattern_width' => array('name' => __('Pattern Image Width', 'ROEN'), 'type' => 'number', 'property' => 'global-bg-pattern-width', 'enabled-id' => 'global_bg_type_pattern', 'enable-group' => 'global_bg_type_group'), 'background_pattern_height' => array('name' => __('Pattern Image Height', 'ROEN'), 'type' => 'number', 'property' => 'global-bg-pattern-height', 'enabled-id' => 'global_bg_type_pattern', 'enable-group' => 'global_bg_type_group'), 'background_pattern_image' => array('name' => __('Pattern Image', 'ROEN'), 'type' => 'upload', 'property' => 'global-bg-pattern-image', 'enabled-id' => 'global_bg_type_pattern', 'enable-group' => 'global_bg_type_group'), 'background_pattern_retina' => array('name' => __('Pattern Retina Image @2x', 'ROEN'), 'type' => 'upload', 'property' => 'global-bg-pattern-retina', 'enabled-id' => 'global_bg_type_pattern', 'enable-group' => 'global_bg_type_group'), 'background_image' => array('name' => __('Background Image', 'ROEN'), 'type' => 'upload', 'property' => 'global-bg-image', 'enabled-id' => 'global_bg_type_image', 'enable-group' => 'global_bg_type_group'), 'background_color' => array('name' => __('Background Color', 'ROEN'), 'type' => 'color', 'default' => 'ffffff', 'property' => 'global-bg-color', 'enabled-id' => 'global_bg_type_color', 'enable-group' => 'global_bg_type_group'))), 'header_background_setting' => array('title' => __('Header Background Setting', 'ROEN'), 'type' => 'moreline', 'enabled-id' => 'pe_custom_background', 'enable-group' => 'pe_custom_background_group', 'moreline' => array('background_type' => array('name' => __('Header Background Type', 'ROEN'), 'type' => 'radio', 'property' => 'global-header-bg-type', 'radios' => array(__('Pattern', 'ROEN'), __('Image', 'ROEN'), __('Color', 'ROEN')), 'enable-element' => 'yes', 'enable-id' => '0-global_header_bg_type_pattern:1-global_header_bg_type_image:2-global_header_bg_type_color', 'enable-group' => 'global_header_bg_type_group'), 'background_pattern_width' => array('name' => __('Pattern Image Width', 'ROEN'), 'type' => 'number', 'property' => 'global-header-bg-pattern-width', 'enabled-id' => 'global_header_bg_type_pattern', 'enable-group' => 'global_header_bg_type_group'), 'background_pattern_height' => array('name' => __('Pattern Image Height', 'ROEN'), 'type' => 'number', 'property' => 'global-header-bg-pattern-height', 'enabled-id' => 'global_header_bg_type_pattern', 'enable-group' => 'global_header_bg_type_group'), 'background_pattern_image' => array('name' => __('Pattern Image', 'ROEN'), 'type' => 'upload', 'property' => 'global-header-bg-pattern-image', 'enabled-id' => 'global_header_bg_type_pattern', 'enable-group' => 'global_header_bg_type_group'), 'background_pattern_retina' => array('name' => __('Pattern Retina Image @2x', 'ROEN'), 'type' => 'upload', 'property' => 'global-header-bg-pattern-retina', 'enabled-id' => 'global_header_bg_type_pattern', 'enable-group' => 'global_header_bg_type_group'), 'background_image' => array('name' => __('Background Image', 'ROEN'), 'type' => 'upload', 'property' => 'global-header-bg-image', 'enabled-id' => 'global_header_bg_type_image', 'enable-group' => 'global_header_bg_type_group'), 'background_color' => array('name' => __('Background Color', 'ROEN'), 'type' => 'color', 'property' => 'global-header-bg-color', 'enabled-id' => 'global_header_bg_type_color', 'enable-group' => 'global_header_bg_type_group'))), 'title_background_setting' => array('title' => __('Title Background Setting', 'ROEN'), 'type' => 'moreline', 'enabled-id' => 'pe_custom_background', 'enable-group' => 'pe_custom_background_group', 'moreline' => array('background_type' => array('name' => __('Title Background Type', 'ROEN'), 'type' => 'radio', 'property' => 'global-title-bg-type', 'radios' => array(__('Pattern', 'ROEN'), __('Image', 'ROEN'), __('Color', 'ROEN')), 'enable-element' => 'yes', 'enable-id' => '0-global_title_bg_type_pattern:1-global_title_bg_type_image:2-global_title_bg_type_color', 'enable-group' => 'global_title_bg_type_group'), 'background_pattern_width' => array('name' => __('Pattern Image Width', 'ROEN'), 'type' => 'number', 'property' => 'global-title-bg-pattern-width', 'enabled-id' => 'global_title_bg_type_pattern', 'enable-group' => 'global_title_bg_type_group'), 'background_pattern_height' => array('name' => __('Pattern Image Height', 'ROEN'), 'type' => 'number', 'property' => 'global-title-bg-pattern-height', 'enabled-id' => 'global_title_bg_type_pattern', 'enable-group' => 'global_title_bg_type_group'), 'background_pattern_image' => array('name' => __('Pattern Image', 'ROEN'), 'type' => 'upload', 'property' => 'global-title-bg-pattern-image', 'enabled-id' => 'global_title_bg_type_pattern', 'enable-group' => 'global_title_bg_type_group'), 'background_pattern_retina' => array('name' => __('Pattern Retina Image @2x', 'ROEN'), 'type' => 'upload', 'property' => 'global-title-bg-pattern-retina', 'enabled-id' => 'global_title_bg_type_pattern', 'enable-group' => 'global_title_bg_type_group'), 'background_image' => array('name' => __('Background Image', 'ROEN'), 'type' => 'upload', 'property' => 'global-title-bg-image', 'enabled-id' => 'global_title_bg_type_image', 'enable-group' => 'global_title_bg_type_group'), 'background_color' => array('name' => __('Background Color', 'ROEN'), 'type' => 'color', 'property' => 'global-title-bg-color', 'enabled-id' => 'global_title_bg_type_color', 'enable-group' => 'global_title_bg_type_group'))), 'content_background_setting' => array('title' => __('Content Background Setting', 'ROEN'), 'type' => 'moreline', 'enabled-id' => 'pe_custom_background', 'enable-group' => 'pe_custom_background_group', 'moreline' => array('background_type' => array('name' => __('Content Background Type', 'ROEN'), 'type' => 'radio', 'property' => 'global-content-bg-type', 'radios' => array(__('Pattern', 'ROEN'), __('Image', 'ROEN'), __('Color', 'ROEN')), 'enable-element' => 'yes', 'enable-id' => '0-global_content_bg_type_pattern:1-global_content_bg_type_image:2-global_content_bg_type_color', 'enable-group' => 'global_content_bg_type_group'), 'background_pattern_width' => array('name' => __('Pattern Image Width', 'ROEN'), 'type' => 'number', 'property' => 'global-content-bg-pattern-width', 'enabled-id' => 'global_content_bg_type_pattern', 'enable-group' => 'global_content_bg_type_group'), 'background_pattern_height' => array('name' => __('Pattern Image Height', 'ROEN'), 'type' => 'number', 'property' => 'global-content-bg-pattern-height', 'enabled-id' => 'global_content_bg_type_pattern', 'enable-group' => 'global_content_bg_type_group'), 'background_pattern_image' => array('name' => __('Pattern Image', 'ROEN'), 'type' => 'upload', 'property' => 'global-content-bg-pattern-image', 'enabled-id' => 'global_content_bg_type_pattern', 'enable-group' => 'global_content_bg_type_group'), 'background_pattern_retina' => array('name' => __('Pattern Retina Image @2x', 'ROEN'), 'type' => 'upload', 'property' => 'global-content-bg-pattern-retina', 'enabled-id' => 'global_content_bg_type_pattern', 'enable-group' => 'global_content_bg_type_group'), 'background_image' => array('name' => __('Background Image', 'ROEN'), 'type' => 'upload', 'property' => 'global-content-bg-image', 'enabled-id' => 'global_content_bg_type_image', 'enable-group' => 'global_content_bg_type_group'), 'background_color' => array('name' => __('Background Color', 'ROEN'), 'type' => 'color', 'property' => 'global-content-bg-color', 'enabled-id' => 'global_content_bg_type_color', 'enable-group' => 'global_content_bg_type_group'))), 'footer_background_setting' => array('title' => __('Footer Background Setting', 'ROEN'), 'type' => 'moreline', 'enabled-id' => 'pe_custom_background', 'enable-group' => 'pe_custom_background_group', 'moreline' => array('background_type' => array('name' => __('Footer Background Type', 'ROEN'), 'type' => 'radio', 'property' => 'global-footer-bg-type', 'default' => 2, 'radios' => array(__('Pattern', 'ROEN'), __('Image', 'ROEN'), __('Color', 'ROEN')), 'enable-element' => 'yes', 'enable-id' => '0-global_footer_bg_type_pattern:1-global_footer_bg_type_image:2-global_footer_bg_type_color', 'enable-group' => 'global_footer_bg_type_group'), 'background_pattern_width' => array('name' => __('Pattern Image Width', 'ROEN'), 'type' => 'number', 'default' => 100, 'property' => 'global-footer-bg-pattern-width', 'enabled-id' => 'global_footer_bg_type_pattern', 'enable-group' => 'global_footer_bg_type_group'), 'background_pattern_height' => array('name' => __('Pattern Image Height', 'ROEN'), 'type' => 'number', 'default' => 100, 'property' => 'global-footer-bg-pattern-height', 'enabled-id' => 'global_footer_bg_type_pattern', 'enable-group' => 'global_footer_bg_type_group'), 'background_pattern_image' => array('name' => __('Pattern Image', 'ROEN'), 'type' => 'upload', 'property' => 'global-footer-bg-pattern-image', 'enabled-id' => 'global_footer_bg_type_pattern', 'enable-group' => 'global_footer_bg_type_group'), 'background_pattern_retina' => array('name' => __('Pattern Retina Image @2x', 'ROEN'), 'type' => 'upload', 'property' => 'global-footer-bg-pattern-retina', 'enabled-id' => 'global_footer_bg_type_pattern', 'enable-group' => 'global_footer_bg_type_group'), 'background_image' => array('name' => __('Background Image', 'ROEN'), 'type' => 'upload', 'property' => 'global-footer-bg-image', 'enabled-id' => 'global_footer_bg_type_image', 'enable-group' => 'global_footer_bg_type_group'), 'background_color' => array('name' => __('Background Color', 'ROEN'), 'type' => 'color', 'default' => 'f1f1f1', 'property' => 'global-footer-bg-color', 'enabled-id' => 'global_footer_bg_type_color', 'enable-group' => 'global_footer_bg_type_group'), 'bottom_bg_color' => array('name' => __('Bottom Background Color', 'ROEN'), 'type' => 'color', 'default' => 'f7f7f7', 'property' => 'global-footer-bottom-bg-color', 'enabled-id' => 'global_footer_bg_type_color global_footer_bg_type_image global_footer_bg_type_pattern', 'enable-group' => 'global_footer_bg_type_group')))));
/* WooCommerce */
$page_content[] = array('section' => 'woocommerce', 'icon' => 'fa-shopping-cart', 'name' => __('Woocommerce', 'ROEN'), 'title' => __('Woocommerce Setting', 'ROEN'), 'elements' => array('woocommerce_default' => array('title' => __('Default Woocommerce Setting', 'ROEN'), 'type' => 'moreline', 'moreline' => array('page_number' => array('name' => __('Shop Page Items Number', 'ROEN'), 'type' => 'number', 'default' => 20, 'property' => 'woo-page-num'), 'product_style' => array('name' => __('Product Style', 'ROEN'), 'type' => 'radio', 'radios' => array(__('Iocn Style', 'ROEN'), __('Slider Style', 'ROEN')), 'desc' => __('Choose product item default style', 'ROEN'), 'property' => 'woo-product-style'), 'enable_share' => array('name' => __('Enable Show Share', 'ROEN'), 'type' => 'pc', 'property' => 'woo-enable-share', 'enable-element' => 'yes', 'enable-id' => '1-pe_woo_share', 'enable-group' => 'pe_woo_share_group'), 'custom_share' => array('name' => __('Custom share code', 'ROEN'), 'type' => 'textarea', 'property' => 'woo-share-code', 'desc' => __('You can copy your share plugin code into here.Like AddThis', 'ROEN'), 'enabled-id' => 'pe_woo_share', 'enable-group' => 'pe_woo_share_group')))));
/* Font Setting Page */
$page_content[] = array('section' => 'font', 'icon' => 'fa-text-width', 'name' => __('Font', 'ROEN'), 'title' => __('Font Setting', 'ROEN'), 'elements' => array('font_enable' => array('title' => __('Enable Font Setting', 'ROEN'), 'name' => __('Enable Custom Font', 'ROEN'), 'type' => 'pc', 'property' => 'custom-enable-font', 'desc' => __('Just when enable custom font,then all choose font will run.', 'ROEN'), 'enable-element' => 'yes', 'enable-id' => '1-pe_custom_font', 'enable-group' => 'pe_custom_font_group'), 'font_setting' => array('title' => __('Theme Font Setting', 'ROEN'), 'type' => 'moreline', 'enabled-id' => 'pe_custom_font', 'enable-group' => 'pe_custom_font_group', 'moreline' => array('general_font' => array('name' => __('General Font', 'ROEN'), 'type' => 'select', 'property' => 'custom-general-font', 'default_option' => 'Default: Open Sans', 'option_array' => $google_fonts, 'desc' => __('Now have 676+ Google web fonts for u choose!', 'ROEN')), 'general_font_weight' => array('name' => __('Font Weight', 'ROEN'), 'type' => 'input', 'default' => '300,300italic,400,400italic,700,700italic', 'property' => 'custom-general-font-weight', 'desc' => __('You can check font support style http://google.com/fonts/', 'ROEN')), 'general_font_size' => array('name' => __('Normal Size', 'ROEN'), 'type' => 'number', 'property' => 'custom-general-font-size', 'after' => 'px'), 'general_font_small_size' => array('name' => __('Small Size', 'ROEN'), 'type' => 'number', 'property' => 'custom-general-font-small-size', 'after' => 'px'), 'general_font_big_size' => array('name' => __('Big Size', 'ROEN'), 'type' => 'number', 'property' => 'custom-general-font-big-size', 'after' => 'px'), 'top_nav_font' => array('name' => __('Header Menu Font', 'ROEN'), 'type' => 'select', 'property' => 'custom-menu-font', 'default_option' => 'Default: Open Sans', 'option_array' => $google_fonts), 'top_nav_font_weight' => array('name' => __('Font Weight', 'ROEN'), 'type' => 'input', 'default' => '300,300italic,400,400italic,700,700italic', 'property' => 'custom-menu-font-weight'), 'top_nav_font_size' => array('name' => '', 'type' => 'number', 'property' => 'custom-menu-font-size', 'after' => 'px'), 'title_font' => array('name' => __('Title (h1-h6) Font', 'ROEN'), 'type' => 'select', 'property' => 'custom-title-font', 'default_option' => 'Default: Open Sans', 'option_array' => $google_fonts), 'title_font_size' => array('name' => '', 'type' => 'number', 'property' => 'custom-title-font-size', 'after' => 'px'), 'title_font_weight' => array('name' => __('Font Weight', 'ROEN'), 'type' => 'input', 'default' => '300,300italic,400,400italic,700,700italic', 'property' => 'custom-title-font-weight'), 'subset_font' => array('name' => __('Google Fonts Subsets', 'ROEN'), 'type' => 'input', 'property' => 'google-font-subset', 'desc' => __('Some of the fonts in the Google Font Directory support multiple scripts (like Latin and Cyrillic for example). Example: "latin,cyrillic" please use "," for more subsets ', 'ROEN'))))));
/* Color Setting Page */
$page_content[] = array('section' => 'color', 'icon' => 'fa-magic', 'name' => __('Color', 'ROEN'), 'title' => __('Color Setting', 'ROEN'), 'elements' => array('enable_colors' => array('title' => __('Enable Color Setting', 'ROEN'), 'name' => __('Enable Custom Color', 'ROEN'), 'type' => 'pc', 'property' => 'custom-enable-color', 'desc' => __('Just when enable custom color,then all choose color will run.', 'ROEN'), 'enable-element' => 'yes', 'enable-id' => '1-pe_custom_color', 'enable-group' => 'pe_custom_color_group'), 'theme_color' => array('title' => __('Theme Colors Setting', 'ROEN'), 'type' => 'moreline', 'enabled-id' => 'pe_custom_color', 'enable-group' => 'pe_custom_color_group', 'moreline' => array('theme_color' => array('name' => __('Theme Color', 'ROEN'), 'type' => 'color', 'property' => 'theme-color', 'desc' => __('Theme global default color', 'ROEN')), 'general_text_color' => array('name' => __('General Color', 'ROEN'), 'type' => 'color', 'property' => 'custom-general-color', 'desc' => __('Body general default color', 'ROEN')), 'h_color' => array('name' => __('H1-h6 Color', 'ROEN'), 'type' => 'color', 'property' => 'custom-h-color', 'desc' => __('H1-H6 default color', 'ROEN')), 'links_color' => array('name' => __('Links Color', 'ROEN'), 'type' => 'color', 'property' => 'custom-links-color', 'desc' => __('Links default color like a tag', 'ROEN')), 'links_hover_color' => array('name' => __('Links Hover Color', 'ROEN'), 'type' => 'color', 'property' => 'custom-links-hover-color', 'desc' => __('Links hover color like a tag', 'ROEN')))), 'theme_menu_color' => array('title' => __('Header Menu Colors Setting', 'ROEN'), 'type' => 'moreline', 'enabled-id' => 'pe_custom_color', 'enable-group' => 'pe_custom_color_group', 'moreline' => array('header_menu_links_color' => array('name' => __('Links Color', 'ROEN'), 'type' => 'color', 'property' => 'header-menu-links-color', 'desc' => __('Header menu links color', 'ROEN')), 'header_menu_links_hover_color' => array('name' => __('Links Hover Color', 'ROEN'), 'type' => 'color', 'property' => 'header-menu-font-links-color', 'desc' => __('Header menu links hover color', 'ROEN')), 'header_menu_3d_links_hover_color' => array('name' => __('3D Style Links Hover Color', 'ROEN'), 'type' => 'color', 'property' => 'header-menu-3d-links-hover-color', 'desc' => __('Header menu links hover color', 'ROEN')), 'header_menu_3d_links_hover_bg_color' => array('name' => __('3D Style Links Hover Background Color', 'ROEN'), 'type' => 'color', 'property' => 'header-menu-3d-links-hover-bg-color', 'desc' => __('Header menu 3d style links hover background color', 'ROEN')), 'header_menu_bottom_border_color' => array('name' => __('Bottom Border Line Color', 'ROEN'), 'type' => 'color', 'property' => 'header-menu-bottom-border-color', 'desc' => __('Header menu bottom border line color', 'ROEN')), 'header_sub_menu_links_color' => array('name' => __('Sub Menu Links Color', 'ROEN'), 'type' => 'color', 'property' => 'header-sub-menu-links-color', 'desc' => __('Header menu sub menu links color', 'ROEN')), 'header_sub_menu_links_hover_color' => array('name' => __('Sub Menu Links Hover Color', 'ROEN'), 'type' => 'color', 'property' => 'header-sub-menu-links-hover-color', 'desc' => __('Header menu sub menu links hover color', 'ROEN')), 'header_sub_menu_links_hover_bg_color' => array('name' => __('Sub Menu Links Hover Background Color', 'ROEN'), 'type' => 'color', 'property' => 'header-sub-menu-links-hover-bg-color', 'desc' => __('Header menu sub menu links hover background color', 'ROEN')), 'header_sub_menu_panel_bg_color' => array('name' => __('Sub Menu Panel Background Color', 'ROEN'), 'type' => 'color', 'property' => 'header-sub-menu-panel-background-color', 'desc' => __('Header menu sub menu panel background color', 'ROEN')), 'header_sub_menu_split_line_color' => array('name' => __('Sub Menu Split Line Color', 'ROEN'), 'type' => 'color', 'property' => 'header-sub-menu-split-line-color', 'desc' => __('Header menu sub menu area split line color', 'ROEN')), 'header_mobile_menu_background_color' => array('name' => __('Mobile Menu Background Color', 'ROEN'), 'type' => 'color', 'property' => 'header-mobile-menu-bg-color', 'desc' => __('Mobile menu background color', 'ROEN')), 'header_mobile_menu_border_color' => array('name' => __('Mobile Menu Boder Color', 'ROEN'), 'type' => 'color', 'property' => 'header-mobile-menu-border-color', 'desc' => __('Mobile menu border color', 'ROEN')), 'header_mobile_btn_color' => array('name' => __('Mobile Menu Button Color', 'ROEN'), 'type' => 'color', 'property' => 'header-mobile-btn-color', 'desc' => __('Mobile menu area button text color', 'ROEN')), 'header_mobile_btn_bg_color' => array('name' => __('Mobile Menu Button Background Color', 'ROEN'), 'type' => 'color', 'property' => 'header-mobile-btn-bg-color', 'desc' => __('Mobile menu area button background color', 'ROEN')), 'header_mobile_links_color' => array('name' => __('Mobile Menu Links Color', 'ROEN'), 'type' => 'color', 'property' => 'header-mobile-links-color', 'desc' => __('Mobile menu links color', 'ROEN')), 'header_mobile_links_hover_color' => array('name' => __('Mobile Menu Links Hover Color', 'ROEN'), 'type' => 'color', 'property' => 'header-mobile-links-hover-color', 'desc' => __('Mobile menu links hover color', 'ROEN')), 'header_mobile_links_hover_bg_color' => array('name' => __('Mobile Menu Links Hover Background Color', 'ROEN'), 'type' => 'color', 'property' => 'header-mobile-links-hover-bg-color', 'desc' => __('Mobile menu links hover/active background color', 'ROEN')))), 'theme_header_banner_color' => array('title' => __('Header Banner Colors Setting', 'ROEN'), 'type' => 'moreline', 'enabled-id' => 'pe_custom_color', 'enable-group' => 'pe_custom_color_group', 'moreline' => array('header_banner_bg_color' => array('name' => __('Background Color', 'ROEN'), 'type' => 'color', 'property' => 'header-banner-bg-color', 'desc' => __('Header banner area background color', 'ROEN')), 'header_topbar_font_color' => array('name' => __('Text Default Color', 'ROEN'), 'type' => 'color', 'property' => 'header-banner-text-color', 'desc' => __('Header banner area text default color', 'ROEN')), 'header_topbar_links_color' => array('name' => __('Links Color', 'ROEN'), 'type' => 'color', 'property' => 'header-banner-links-color', 'desc' => __('Header banner links color like a', 'ROEN')), 'header_topbar_links_hover_color' => array('name' => __('Links Hover Color', 'ROEN'), 'type' => 'color', 'property' => 'header-banner-links-hover-color', 'desc' => __('Header banner links hover color like a tag', 'ROEN')))), 'theme_header_topbar_color' => array('title' => __('Topbar Area Colors Setting', 'ROEN'), 'type' => 'moreline', 'enabled-id' => 'pe_custom_color', 'enable-group' => 'pe_custom_color_group', 'moreline' => array('header_topbar_bg_color' => array('name' => __('Background Color', 'ROEN'), 'type' => 'color', 'property' => 'header-topbar-bg-color', 'desc' => __('Header topbar area background color', 'ROEN')), 'header_topbar_menu_bg_color' => array('name' => __('Menu Background Color', 'ROEN'), 'type' => 'color', 'property' => 'header-topbar-menu-bg-color', 'desc' => __('Header topbar area menu background color', 'ROEN')), 'header_topbar_menu_hover_bg_color' => array('name' => __('Menu Hover Background Color', 'ROEN'), 'type' => 'color', 'property' => 'header-topbar-menu-hover-bg-color', 'desc' => __('Header topbar area menu hover background color', 'ROEN')), 'header_topbar_font_color' => array('name' => __('Text Default Color', 'ROEN'), 'type' => 'color', 'property' => 'header-topbar-text-color', 'desc' => __('Header topbar area text default color', 'ROEN')), 'header_topbar_links_color' => array('name' => __('Links Color', 'ROEN'), 'type' => 'color', 'property' => 'header-topbar-links-color', 'desc' => __('Header topbar area links color like a', 'ROEN')), 'header_topbar_links_hover_color' => array('name' => __('Links Hover Color', 'ROEN'), 'type' => 'color', 'property' => 'header-topbar-links-hover-color', 'desc' => __('Header topbar area links hover color like a tag', 'ROEN')))), 'theme_footer_color' => array('title' => __('Footer Area Colors Setting', 'ROEN'), 'type' => 'moreline', 'enabled-id' => 'pe_custom_color', 'enable-group' => 'pe_custom_color_group', 'moreline' => array('footer_txt_color' => array('name' => __('Text Default Color', 'ROEN'), 'type' => 'color', 'property' => 'footer-text-color', 'desc' => __('Footer area text default color', 'ROEN')), 'footer_h_color' => array('name' => __('Title Default Color', 'ROEN'), 'type' => 'color', 'property' => 'footer-h-color', 'desc' => __('Footer area H1-H6 title color ', 'ROEN')), 'footer_links_color' => array('name' => __('Links Color', 'ROEN'), 'type' => 'color', 'property' => 'footer-links-color', 'desc' => __('Footer area links color like a tag', 'ROEN')), 'footer_links_hover_color' => array('name' => __('Links Hover Color', 'ROEN'), 'type' => 'color', 'property' => 'footer-links-hover-color', 'desc' => __('Footer area links hover color like a tag', 'ROEN')), 'footer_bottom_txt_color' => array('name' => __('Bottom Area Text Default Color', 'ROEN'), 'type' => 'color', 'property' => 'footer-bottom-text-color', 'desc' => __('Footer bottom area text default color', 'ROEN')), 'footer_bottom_links_color' => array('name' => __('Bottom Area Links Color', 'ROEN'), 'type' => 'color', 'property' => 'footer-bottom-links-color', 'desc' => __('Footer bottom area links color like a tag', 'ROEN')), 'footer_bottom_links_hover_color' => array('name' => __('Bottom Area Links Hover Color', 'ROEN'), 'type' => 'color', 'property' => 'footer-bottom-links-hover-color', 'desc' => __('Footer bottom area links hover color like a tag', 'ROEN')))), 'theme_sticky_header_color' => array('title' => __('Sticky Header Colors Setting', 'ROEN'), 'type' => 'moreline', 'enabled-id' => 'pe_custom_color', 'enable-group' => 'pe_custom_color_group', 'moreline' => array('enable_colors' => array('name' => __('Enable Sticky Header Custom Color', 'ROEN'), 'type' => 'pc', 'property' => 'sticky-header-enable-color', 'desc' => __('Enable custom then all sticky header color will changed.', 'ROEN'), 'enable-element' => 'yes', 'enable-id' => '1-pe_custom_sticky_color', 'enable-group' => 'pe_custom_sticky_color_group'), 'sticky_bg_color' => array('name' => __('Sticky Area Background Color', 'ROEN'), 'type' => 'color', 'property' => 'sticky-header-background-color', 'desc' => __('Sticky header area background color', 'ROEN'), 'enabled-id' => 'pe_custom_sticky_color', 'enable-group' => 'pe_custom_sticky_color_group'), 'sticky_menu_links_color' => array('name' => __('Menu Links Color', 'ROEN'), 'type' => 'color', 'property' => 'sticky-header-links-color', 'desc' => __('Sticky header menu links color', 'ROEN'), 'enabled-id' => 'pe_custom_sticky_color', 'enable-group' => 'pe_custom_sticky_color_group'), 'sticky_menu_links_hover_color' => array('name' => __('Menu Links Hover Color', 'ROEN'), 'type' => 'color', 'property' => 'sticky-header-links-hover-color', 'desc' => __('Sticky header menu links hover color', 'ROEN'), 'enabled-id' => 'pe_custom_sticky_color', 'enable-group' => 'pe_custom_sticky_color_group')))));
/* Enbale Css */
$page_content[] = array('section' => 'css', 'icon' => 'fa-css3', 'name' => __('CSS', 'ROEN'), 'title' => __('Custom Css Setting', 'ROEN'), 'elements' => array('enable_custom_css' => array('title' => __('Enable Custom CSS', 'ROEN'), 'type' => 'moreline', 'moreline' => array('enable_css' => array('name' => __('Enable Custom CSS', 'ROEN'), 'type' => 'pc', 'desc' => __('Check here enable custom css for theme', 'ROEN'), 'property' => 'custom-enable-css', 'enable-element' => 'yes', 'enable-id' => '1-pe_custom_css', 'enable-group' => 'pe_custom_css_group'), 'custom_css' => array('name' => __('Custom CSS', 'ROEN'), 'type' => 'textarea', 'codetype' => 'css', 'property' => 'custom-css-content', 'enabled-id' => 'pe_custom_css', 'enable-group' => 'pe_custom_css_group'), 'custom_retina_css' => array('name' => __('Custom Retina CSS', 'ROEN'), 'type' => 'textarea', 'codetype' => 'css', 'property' => 'custom-css-retina-content', 'enabled-id' => 'pe_custom_css', 'enable-group' => 'pe_custom_css_group')))));
/* Enbale Scripts */
$page_content[] = array('section' => 'scripts', 'icon' => 'fa-code', 'name' => __('Scripts', 'ROEN'), 'title' => __('Custom Scripts Setting', 'ROEN'), 'elements' => array('enable_custom_scripts' => array('title' => __('Enable Custom Scripts', 'ROEN'), 'type' => 'moreline', 'moreline' => array('enable_scripts' => array('name' => __('Enable Custom Scripts', 'ROEN'), 'type' => 'pc', 'desc' => __('Check here enable custom scripts for theme', 'ROEN'), 'property' => 'custom-enable-scripts', 'enable-element' => 'yes', 'enable-id' => '1-pe_custom_scripts', 'enable-group' => 'pe_custom_scripts_group'), 'custom_scripts' => array('name' => __('Custom Scripts', 'ROEN'), 'type' => 'textarea', 'codetype' => 'javascript', 'property' => 'custom-scripts-content', 'enabled-id' => 'pe_custom_scripts', 'enable-group' => 'pe_custom_scripts_group')))));
/* Blog Page */
$page_content[] = array('section' => 'blog', 'icon' => 'fa-pencil', 'name' => __('Blog', 'ROEN'), 'title' => __('Blog', 'ROEN'), 'elements' => array('blog_cat_tag' => array('title' => __('Blog Show Type, Category, Tags Show Setting', 'ROEN'), 'type' => 'moreline', 'moreline' => array('blog_type' => array('name' => __('Blog Show Type', 'ROEN'), 'type' => 'select', 'options' => array(0 => __('Default: Avatar Style', 'ROEN'), 1 => __('Clean Mid Style', 'ROEN'), 2 => __('Big Width Style', 'ROEN')), 'property' => 'blog-post-show-style', 'desc' => __('Default global blog posts show type.', 'ROEN')))), 'blog_setting' => array('title' => __('Single Post Setting', 'ROEN'), 'type' => 'moreline', 'moreline' => array('enable_breadchrumb' => array('name' => __('Category for Single Post Breadchrumb', 'ROEN'), 'type' => 'pc', 'desc' => __('Check to enable show single post breadchrumb with category', 'ROEN'), 'property' => 'blog-enable-breadchrumb'), 'post_related' => array('name' => __('Enable Show Related Posts', 'ROEN'), 'type' => 'pc', 'property' => 'blog-related-enable', 'enable-element' => 'yes', 'enable-id' => '1-blog_enable_related', 'enable-group' => 'blog_enable_related_group'), 'post_related_style' => array('name' => __('Related Items Style', 'ROEN'), 'type' => 'select', 'property' => 'blog-related-style', 'options' => array(__('Style #1', 'ROEN'), __('Style #2', 'ROEN'), __('Style #3', 'ROEN'), __('Style #4', 'ROEN'), __('Style #5', 'ROEN')), 'enabled-id' => 'blog_enable_related', 'enable-group' => 'blog_enable_related_group'), 'post_related_num' => array('name' => __('Related Posts Number', 'ROEN'), 'type' => 'number', 'property' => 'blog-related-num', 'default' => '4', 'enabled-id' => 'blog_enable_related', 'enable-group' => 'blog_enable_related_group'), 'enable_share' => array('name' => __('Enable Show Share', 'ROEN'), 'type' => 'pc', 'property' => 'blog-enable-share', 'enable-element' => 'yes', 'enable-id' => '1-pe_blog_share', 'enable-group' => 'pe_blog_share_group'), 'custom_share' => array('name' => __('Custom share code', 'ROEN'), 'type' => 'textarea', 'property' => 'blog-share-code', 'desc' => __('You can copy your share plugin code into here.Like AddThis', 'ROEN'), 'enabled-id' => 'pe_blog_share', 'enable-group' => 'pe_blog_share_group')))));
/* Portfolio Page */
$page_content[] = array('section' => 'portfolio', 'icon' => 'fa-th-large', 'name' => __('Portfolio', 'ROEN'), 'title' => __('Portfolio', 'ROEN'), 'elements' => array('portfolio_page' => array('title' => __('Default Portfolio Page', 'ROEN'), 'name' => __('Default Portfolio Page', 'ROEN'), 'type' => 'select', 'property' => 'portfolio-default-page', 'desc' => __('Default portfolio page for category default show style.', 'ROEN'), 'options' => penguin_get_all_template_type_pages(array('page-portfolio.php', 'page-portfolio-ajax.php'))), 'portfolio_single_page' => array('title' => __('Single Post Page Setting', 'ROEN'), 'type' => 'moreline', 'moreline' => array('custom_field' => array('name' => __('Custom Portfolio Fields', 'ROEN'), 'type' => 'textarea', 'property' => 'portfolio-custom-field', 'desc' => __('You can custom add more field for portfolio item.One row means a custom field.<br>Format:<br><br>Field Key:Field Name:FontAwesome Icon <br><br>portfolio-custom-field-brand:Brand:fa-trophy', 'ROEN')), 'enable_breadchrumb' => array('name' => __('Category for Single Post Breadchrumb', 'ROEN'), 'type' => 'pc', 'property' => 'portfolio-enable-breadchrumb', 'desc' => __('Check to enable show single post breadchrumb with category', 'ROEN')), 'post_related' => array('name' => __('Enable Show Related Posts', 'ROEN'), 'type' => 'pc', 'property' => 'portfolio-related-enable', 'enable-element' => 'yes', 'enable-id' => '1-portfolio_enable_related', 'enable-group' => 'portfolio_enable_related_group'), 'post_related_style' => array('name' => __('Related Items Style', 'ROEN'), 'type' => 'select', 'property' => 'portfolio-related-style', 'options' => array(__('Style #1', 'ROEN'), __('Style #2', 'ROEN'), __('Style #3', 'ROEN'), __('Style #4', 'ROEN'), __('Style #5', 'ROEN'), __('Style #6', 'ROEN')), 'enabled-id' => 'portfolio_enable_related', 'enable-group' => 'portfolio_enable_related_group'), 'post_related_num' => array('name' => __('Related Posts Number', 'ROEN'), 'type' => 'number', 'property' => 'portfolio-related-num', 'default' => '4', 'enabled-id' => 'portfolio_enable_related', 'enable-group' => 'portfolio_enable_related_group'), 'enable_share' => array('name' => __('Enable Show Share', 'ROEN'), 'type' => 'pc', 'property' => 'portfolio-enable-share', 'enable-element' => 'yes', 'enable-id' => '1-pe_portfolio_share', 'enable-group' => 'pe_portfolio_share_group'), 'custom_share' => array('name' => __('Custom share code', 'ROEN'), 'type' => 'textarea', 'property' => 'portfolio-share-code', 'desc' => __('You can copy your share plugin code into here.Like AddThis', 'ROEN'), 'enabled-id' => 'pe_portfolio_share', 'enable-group' => 'pe_portfolio_share_group')))));
/* Search Page */
$page_content[] = array('section' => 'search', 'icon' => 'fa-search', 'name' => __('Search', 'ROEN'), 'title' => __('Search', 'ROEN'), 'elements' => array('search_page' => array('title' => __('Search Page Setting', 'ROEN'), 'type' => 'moreline', 'moreline' => array('post_show_num' => array('name' => __('Page Posts Number', 'ROEN'), 'type' => 'number', 'property' => 'search-show-num', 'default' => '10'), 'title_skin' => array('name' => __('Search Title Skin', 'ROEN'), 'type' => 'radio', 'property' => 'search-title-skin', 'radios' => array(__('Default', 'ROEN'), __('Light', 'ROEN'), __('Dark', 'ROEN'))))), 'search_background_setting' => array('title' => __('Search Background Setting', 'ROEN'), 'type' => 'moreline', 'moreline' => array('background_type' => array('name' => __('Search Background Type', 'ROEN'), 'type' => 'radio', 'property' => 'search-bg-type', 'radios' => array(__('Pattern', 'ROEN'), __('Image', 'ROEN'), __('Color', 'ROEN')), 'enable-element' => 'yes', 'enable-id' => '0-search_bg_type_pattern:1-search_bg_type_image:2-search_bg_type_color', 'enable-group' => 'search_bg_type_group'), 'background_pattern_width' => array('name' => __('Pattern Image Width', 'ROEN'), 'type' => 'number', 'property' => 'search-bg-pattern-width', 'enabled-id' => 'search_bg_type_pattern', 'enable-group' => 'search_bg_type_group'), 'background_pattern_height' => array('name' => __('Pattern Image Height', 'ROEN'), 'type' => 'number', 'property' => 'search-bg-pattern-height', 'enabled-id' => 'search_bg_type_pattern', 'enable-group' => 'search_bg_type_group'), 'background_pattern_image' => array('name' => __('Pattern Image', 'ROEN'), 'type' => 'upload', 'property' => 'search-bg-pattern-image', 'enabled-id' => 'search_bg_type_pattern', 'enable-group' => 'search_bg_type_group'), 'background_pattern_retina' => array('name' => __('Pattern Retina Image @2x', 'ROEN'), 'type' => 'upload', 'property' => 'search-bg-pattern-retina', 'enabled-id' => 'search_bg_type_pattern', 'enable-group' => 'search_bg_type_group'), 'background_image' => array('name' => __('Background Image', 'ROEN'), 'type' => 'upload', 'property' => 'search-bg-image', 'enabled-id' => 'search_bg_type_image', 'enable-group' => 'search_bg_type_group'), 'background_color' => array('name' => __('Background Color', 'ROEN'), 'type' => 'color', 'property' => 'search-bg-color', 'enabled-id' => 'search_bg_type_color', 'enable-group' => 'search_bg_type_group')))));
/* Social */
$page_content[] = array('section' => 'social', 'icon' => 'fa-twitter', 'name' => __('Socials', 'ROEN'), 'title' => __('Socials', 'ROEN'), 'elements' => array('social' => array('title' => __('Social Links with http://', 'ROEN'), 'type' => 'moreline', 'moreline' => array('social_email' => array('name' => __('Email', 'ROEN'), 'type' => 'input', 'property' => 'social-email'), 'social_twitter' => array('name' => __('Twitter', 'ROEN'), 'type' => 'input', 'property' => 'social-twitter'), 'social_facebook' => array('name' => __('Facebook', 'ROEN'), 'type' => 'input', 'property' => 'social-facebook'), 'social_google_plus' => array('name' => __('Google Plus', 'ROEN'), 'type' => 'input', 'property' => 'social-google_plus'), 'social_dribbble' => array('name' => __('Dribbble', 'ROEN'), 'type' => 'input', 'property' => 'social-dribbble'), 'social_pinterest' => array('name' => __('Pinterest', 'ROEN'), 'type' => 'input', 'property' => 'social-pinterest'), 'social_flickr' => array('name' => __('Flickr', 'ROEN'), 'type' => 'input', 'property' => 'social-flickr'), 'social_skype' => array('name' => __('Skype', 'ROEN'), 'type' => 'input', 'property' => 'social-skype'), 'social_youtube' => array('name' => __('Youtube', 'ROEN'), 'type' => 'input', 'property' => 'social-youtube'), 'social_vimeo' => array('name' => __('Vimeo', 'ROEN'), 'type' => 'input', 'property' => 'social-vimeo'), 'social_linkedin' => array('name' => __('Linkedin', 'ROEN'), 'type' => 'input', 'property' => 'social-linkedin'), 'social_digg' => array('name' => __('Digg', 'ROEN'), 'type' => 'input', 'property' => 'social-digg'), 'social_deviantart' => array('name' => __('Deviantart', 'ROEN'), 'type' => 'input', 'property' => 'social-deviantart'), 'social_behance' => array('name' => __('Behance', 'ROEN'), 'type' => 'input', 'property' => 'social-behance'), 'social_xing' => array('name' => __('XING', 'ROEN'), 'type' => 'input', 'property' => 'social-xing'), 'social_instagram' => array('name' => __('Instagram', 'ROEN'), 'type' => 'input', 'property' => 'social-instagram'), 'social_stumbleupon' => array('name' => __('StumbleUpon', 'ROEN'), 'type' => 'input', 'property' => 'social-stumbleupon')))));
/* License Page */
$page_content[] = array('section' => 'general', 'icon' => 'fa-copyright', 'name' => __('License', 'ROEN'), 'title' => __('Theme License', 'ROEN'), 'elements' => array('purchase_code' => array('name' => __('Purchase Code Active License', 'ROEN'), 'title' => __('Purchase Code Active License', 'ROEN'), 'type' => 'input', 'property' => 'theme-purchase-code', 'desc' => __('Get Purchase Code from us through email: license@themefocus.co with your purchase information.', 'ROEN'))));
$page_content[] = array('section' => 'update', 'icon' => 'fa-bullhorn', 'name' => __('Update Log', 'ROEN'), 'title' => __('Update History', 'ROEN'), 'type' => 'update');
$page_content[] = array('section' => 'import', 'icon' => 'fa-retweet', 'name' => __('Import/Export', 'ROEN'), 'title' => __('Import/Export Options', 'ROEN'), 'type' => 'import');
$page_content[] = array('section' => 'get_support', 'icon' => 'fa-question-circle', 'name' => __('Get Support', 'ROEN'), 'title' => 'link', 'type' => 'link', 'class' => 'light', 'pagecontent' => 'http://support.themefocus.co');
/**
 * Option Default Value
 */
$options_custom_general = array('theme-purchase-code' => '', 'favicon' => $dir . '/img/favicon.png', 'rss-feed' => "", 'global-layout' => 0, 'global-layout-boxed-padding' => 0, 'global-sidebar-layout' => 1, 'global-border-radius-enable' => 'off', 'global-breakcrumbs-enable' => 'off', 'bootstrap-fontawesome-cdn' => 'off', 'google-analytics-position' => 1, 'google_analytics-code' => '', 'header-sticky-enable' => "on", 'header-banner-enable' => "off", 'topbar-enable' => 'on', 'mega-menu-style' => 0, 'menu-search-enable' => 'on', 'mobile-search-enable' => 'on', 'logo-txt-enable' => 'off', 'logo-image' => $dir . '/img/logo.png', 'logo-retina-image' => $dir . '/img/logo@2x.png', 'logo-light-image' => $dir . '/img/logo-light.png', 'logo-light-retina-image' => $dir . '/img/logo-light@2x.png', 'logo-image-width' => 120, 'logo-image-height' => 40, 'header-banner-id' => 10000, 'header-banner-content' => '', 'topbar-layout' => 0, 'topbar-custom-element' => '0-1|1-3|2-3|3-3|4-3|5-3|6-3', 'logo-padding-top' => 12, 'menu-padding-top' => 0, 'footer-widget-style' => 0, 'footer-bottom-style' => 0, 'footer-custom-content-left' => 'Copyright &copy; 2014 <a href="http://themefocus.co/roen">ThemeFocus</a>. All rights reserved.', 'footer-custom-content-right' => 'Powered by WordPress.', 'footer-minitools-qrcode' => 'no', 'footer-minitools-cart' => 'no', 'footer-minitools-wishlist' => 'no', 'footer-minitools-custom' => 'no', 'footer-minitools-custom-icon' => 'fa-envelope-o', 'footer-minitools-custom-link' => '', 'custom-background-enable' => 'off', 'global-bg-type' => 0, 'global-bg-pattern-width' => 412, 'global-bg-pattern-height' => 412, 'global-bg-pattern-image' => $dir . '/img/photography.png', 'global-bg-pattern-retina' => $dir . '/img/photography@2x.png', 'global-bg-image' => '', 'global-bg-color' => 'ffffff', 'global-header-bg-type' => 2, 'global-header-bg-pattern-width' => 100, 'global-header-bg-pattern-height' => 100, 'global-header-bg-pattern-image' => '', 'global-header-bg-pattern-retina' => '', 'global-header-bg-image' => '', 'global-header-bg-color' => 'ffffff', 'global-title-align' => 0, 'global-title-skin' => 0, 'global-title-bg-type' => 2, 'global-title-bg-pattern-width' => '', 'global-title-bg-pattern-height' => '', 'global-title-bg-pattern-image' => '', 'global-title-bg-pattern-retina' => '', 'global-title-bg-image' => '', 'global-title-bg-color' => 'e6e6e6', 'global-content-bg-type' => 2, 'global-content-bg-pattern-width' => 100, 'global-content-bg-pattern-height' => 100, 'global-content-bg-pattern-image' => '', 'global-content-bg-pattern-retina' => '', 'global-content-bg-image' => '', 'global-content-bg-color' => 'ffffff', 'global-footer-bg-type' => 2, 'global-footer-bg-pattern-width' => 100, 'global-footer-bg-pattern-height' => 100, 'global-footer-bg-pattern-image' => '', 'global-footer-bg-pattern-retina' => '', 'global-footer-bg-image' => '', 'global-footer-bg-color' => '434241', 'global-footer-bottom-bg-color' => '262626', 'woo-page-num' => 18, 'woo-product-style' => 0, 'woo-enable-share' => "off", 'woo-share-code' => "", 'custom-enable-font' => "off", 'google-font-subset' => "", 'custom-general-font' => 0, 'custom-general-font-small-size' => 12, 'custom-general-font-size' => 14, 'custom-general-font-big-size' => 16, 'custom-menu-font' => 0, 'custom-menu-font-size' => 14, 'custom-title-font' => 0, 'custom-title-font-size' => 18, 'custom-enable-color' => 'off', 'sticky-header-enable-color' => 'off', 'custom-enable-css' => 'off', 'custom-css-content' => '', 'custom-css-retina-content' => '', 'custom-enable-scripts' => 'off', 'custom-scripts-content' => '', 'blog-post-show-style' => 0, 'blog-enable-breadchrumb' => 'off', 'blog-enable-share' => "off", 'blog-share-code' => "", 'blog-related-enable' => 'off', 'blog-related-style' => 1, 'blog-related-num' => 8, 'portfolio-default-page' => "", 'portfolio-custom-field' => 'portfolio-custom-field-client:Client:fa-user', 'portfolio-enable-breadchrumb' => 'off', 'portfolio-related-enable' => 'off', 'portfolio-related-style' => 0, 'portfolio-related-num' => 8, 'portfolio-enable-share' => "off", 'portfolio-share-code' => "", 'search-show-num' => 10, 'search-title-skin' => 0, 'search-bg-type' => 2, 'search-bg-pattern-width' => 100, 'search-bg-pattern-height' => 100, 'search-bg-pattern-image' => '', 'search-bg-pattern-retina' => '', 'search-bg-image' => '', 'search-bg-color' => 'e3e3e3', 'social-email' => "", 'social-twitter' => "", 'social-facebook' => "", 'social-google_plus' => "", 'social-pinterest' => "", 'social-github' => "", 'social-linkedin' => "", 'social-dribbble' => "", 'social-flickr' => "", 'social-skype' => "", 'social-vimeo' => "", 'social-digg' => "", 'social-deviantart' => "", 'social-behance' => "", 'social-xing' => "", 'social-instagram' => "", 'social-stumbleupon' => "");
$options_custom_color = array('theme-color' => '057ac6', 'custom-general-color' => '666666', 'custom-h-color' => '121215', 'custom-links-color' => '121215', 'custom-links-hover-color' => '057ac6', 'header-menu-links-color' => '121215', 'header-menu-font-links-color' => '057ac6', 'header-menu-3d-links-hover-color' => 'ffffff', 'header-menu-3d-links-hover-bg-color' => '057ac6', 'header-menu-bottom-border-color' => '057ac6', 'header-sub-menu-links-color' => '121215', 'header-sub-menu-links-hover-color' => '057ac6', 'header-sub-menu-links-hover-bg-color' => 'f6f6f6', 'header-sub-menu-panel-background-color' => 'ffffff', 'header-sub-menu-split-line-color' => 'f1f1f1', 'header-mobile-menu-bg-color' => 'f2f2f2', 'header-mobile-menu-border-color' => 'e8e8e8', 'header-mobile-btn-color' => '444444', 'header-mobile-btn-bg-color' => 'ffffff', 'header-mobile-links-color' => '121215', 'header-mobile-links-hover-color' => '057ac6', 'header-mobile-links-hover-bg-color' => 'f9f9f9', 'header-banner-bg-color' => '00D6FF', 'header-banner-text-color' => '222222', 'header-banner-links-color' => '121215', 'header-banner-links-hover-color' => '057ac6', 'header-topbar-bg-color' => 'f5f5f5', 'header-topbar-menu-bg-color' => 'f2f2f2', 'header-topbar-menu-hover-bg-color' => 'f2f2f2', 'header-topbar-text-color' => '606060', 'header-topbar-links-color' => '606060', 'header-topbar-links-hover-color' => '0E0E0E', 'footer-text-color' => '999999', 'footer-h-color' => 'a9a9a9', 'footer-links-color' => '878787', 'footer-links-hover-color' => '057ac6', 'footer-bottom-text-color' => '999999', 'footer-bottom-links-color' => '606060', 'footer-bottom-links-hover-color' => '057ac6', 'sticky-header-background-color' => 'ffffff', 'sticky-header-links-color' => '121215', 'sticky-header-links-hover-color' => '057ac6');
$page_default_property = array_merge($options_custom_general, $options_custom_color);
コード例 #2
0
 /**
  * Get Default Portfolio Page
  *
  * @since roen 1.0
  */
 function roen_get_default_portfolio_page()
 {
     global $portfolio_default_page_id;
     $default_page_id = intval(penguin_get_options_key('portfolio-default-page'));
     $pages = penguin_get_all_template_type_pages(array('page-portfolio.php', 'page-portfolio-ajax.php'), true);
     if (isset($pages[$default_page_id])) {
         $default_page_id = $pages[$default_page_id];
         $template = get_post_meta($default_page_id, '_wp_page_template', true);
         if ($template == 'page-portfolio.php' || $template == 'page-portfolio-ajax.php') {
             $portfolio_default_page_id = $default_page_id;
             return $portfolio_default_page_id;
         }
     }
     foreach ($pages as $key => $value) {
         $portfolio_default_page_id = $key;
         break;
     }
     return $portfolio_default_page_id;
 }
コード例 #3
0
    echo get_the_post_thumbnail(get_the_ID(), "thumbnail", array('alt' => get_the_title(), 'title' => ''));
    ?>

                        <?php 
} else {
    ?>

                            <div class="no-gravatar"></div>
                        <?php 
}
?>

                    </div>
                </div>
                <?php 
$member_pages = penguin_get_all_template_type_pages(array('page-member.php'), true);
if (isset($member_pages[0]) && $member_pages[0] != '') {
    ?>

                <a href="<?php 
    echo get_permalink($member_pages[0]);
    ?>
" class="btn btn-theme btn-sm no-margin"><i class="fa fa-users"></i><?php 
    echo __('Back Members', 'ROEN');
    ?>
</a>
                <?php 
}
?>