array( 'id' => 'colors', 'type' => 'section', 'theme-customizer-section' => _x( 'Colors', 'Customizer section title.', 'wm_domain' ), 'theme-customizer-panel' => _x( 'Theme', 'Customizer panel title.', 'wm_domain' ), ), 100 . 'colors' . 100 => array( 'type' => 'color', 'id' => $prefix . 'color' . '-text', 'label' => __( 'Text color', 'wm_domain' ), 'description' => __( 'Color of text over background color', 'wm_domain' ), 'default' => '#ffffff', ), 100 . 'colors' . 110 => array( 'type' => 'theme-customizer-html', 'content' => '
' . __( 'Set a Google Font to be used for website logo, headings and general text.', 'wm_domain' ) . '
' . sprintf( __( 'Font matches recommendations from Google Web Fonts Typographic Project.', 'wm_domain' ), ' href="http://femmebot.github.io/google-type/" target="_blank"' ) . '
' . __( 'Front page banner area will display Header Images and custom text.', 'wm_domain' ) . '
' . __( 'If you set a Static Front Page, the page title will be displayed as banner text. Or you can override the text by setting banner_text
custom field for your front page. Page featured image will be used as banner image.', 'wm_domain' ) . '
' . __( 'Or, if you are using Featured Content module of the Jetpack plugin, just set it up and posts slideshow will be displayed in the banner.', 'wm_domain' ) . '
', ), 300 . 'text' . 120 => array( 'type' => 'textarea', 'id' => $prefix . 'banner-text', 'label' => __( 'Banner default text', 'wm_domain' ), 'description' => __( 'Used only when displaying latest posts on homepage', 'wm_domain' ), 'default' => __( 'Hello! Welcome to my awesome website!', 'wm_domain' ), ), /** * Credits */ 999 . 'credits' => array( 'id' => 'credits', 'type' => 'section', 'theme-customizer-section' => 'Credits', ), 999 . 'credits' . 100 => array( 'id' => 'credits-text', 'type' => 'theme-customizer-html', 'content' => '' . sprintf( __( '%s is free WordPress theme developed by WebMan. You can obtain other professional WordPress themes at WebManDesign.eu. Thank you for using this awesome theme!', 'wm_domain' ), '' . WM_THEME_NAME . '', esc_url( add_query_arg( array( 'utm_source' => WM_THEME_SHORTNAME . '-theme-credits' ), esc_url( WM_THEME_AUTHOR_URI ) ) ) ) . '
', ), ); //Output return apply_filters( 'wmhook_wm_theme_options_array_output', $options ); } } // /wm_theme_options_array /** * Basic custom CSS styles template * * Use a '[[skin-option-id]]' tags in your custom CSS styles string * where the specific option value should be used. * * @since 1.0 * @version 1.1 * * @param string $styles */ if ( ! function_exists( 'wm_custom_css_template' ) ) { function wm_custom_css_template( $styles = '' ) { //Preparing output ob_start(); locate_template( 'css/_custom.css', true ); locate_template( 'css/_custom-plus.css', true ); $styles = ob_get_clean(); //Output return apply_filters( 'wmhook_wm_custom_css_template_output', $styles ); } } // /wm_custom_css_template ?>