array(
'id' => 'layout',
'type' => 'section',
'theme-customizer-section' => _x( 'Layout', 'Customizer section title.', 'wm_domain' ),
),
100 . 'layout' . 100 => array(
'type' => 'theme-customizer-html',
'content' => '
' . __( 'Front page layout', 'wm_domain' ) . '
',
),
100 . 'layout' . 110 => array(
'type' => 'select',
'id' => $prefix . 'layout' . '-blog-condensed',
'label' => __( 'Condensed blog posts', 'wm_domain' ),
'description' => __( 'Select if and where to display this page section', 'wm_domain' ),
'default' => 'top|10',
'options' => array(
'-' => __( 'Disable section', 'wm_domain' ),
'top|10' => __( 'First section above page content', 'wm_domain' ),
'top|20' => __( 'Second section above page content', 'wm_domain' ),
'bottom|10' => __( 'First section below page content', 'wm_domain' ),
'bottom|20' => __( 'Second section below page content', 'wm_domain' ),
),
),
100 . 'layout' . 120 => array(
'type' => 'select',
'id' => $prefix . 'layout' . '-food-menu',
'label' => __( 'Food menu', 'wm_domain' ),
'description' => __( 'Select if and where to display this page section', 'wm_domain' ),
'default' => 'bottom|10',
'options' => array(
'-' => __( 'Disable section', 'wm_domain' ),
'top|10' => __( 'First section above page content', 'wm_domain' ),
'top|20' => __( 'Second section above page content', 'wm_domain' ),
'bottom|10' => __( 'First section below page content', 'wm_domain' ),
'bottom|20' => __( 'Second section below page content', 'wm_domain' ),
),
),
/**
* Colors
*/
200 . 'colors' => array(
'id' => 'colors',
'type' => 'section',
'theme-customizer-section' => _x( 'Colors', 'Customizer section title.', 'wm_domain' ),
),
200 . 'colors' . 100 => array(
'type' => 'theme-customizer-html',
'content' => '' . __( 'Accent color', 'wm_domain' ) . '
',
),
200 . 'colors' . 110 => array(
'type' => 'color',
'id' => $prefix . 'color' . '-accent',
'label' => __( 'Accent color', 'wm_domain' ),
'description' => __( 'This color affects links, buttons and other elements of the website', 'wm_domain' ),
'default' => '#0aac8e',
),
200 . 'colors' . 120 => array(
'type' => 'color',
'id' => $prefix . 'color' . '-accent-text',
'label' => __( 'Accent text color', 'wm_domain' ),
'description' => __( 'Color of text over accent color background', 'wm_domain' ),
'default' => '#ffffff',
),
200 . 'colors' . 200 => array(
'type' => 'theme-customizer-html',
'content' => '' . __( 'Header colors', 'wm_domain' ) . '
',
),
200 . 'colors' . 210 => array(
'type' => 'color',
'id' => $prefix . 'color' . '-header',
'label' => __( 'Header background color', 'wm_domain' ),
'default' => '#1a1c1e',
),
200 . 'colors' . 220 => array(
'type' => 'color',
'id' => $prefix . 'color' . '-header-text',
'label' => __( 'Header text color', 'wm_domain' ),
'description' => __( 'Note that for certain header elements the color will be faded out a bit', 'wm_domain' ),
'default' => '#ffffff',
),
200 . 'colors' . 300 => array(
'type' => 'theme-customizer-html',
'content' => '' . __( 'Footer colors', 'wm_domain' ) . '
',
),
200 . 'colors' . 310 => array(
'type' => 'color',
'id' => $prefix . 'color' . '-footer',
'label' => __( 'Footer background color', 'wm_domain' ),
'default' => '#1a1c1e',
),
200 . 'colors' . 320 => array(
'type' => 'color',
'id' => $prefix . 'color' . '-footer-text',
'label' => __( 'Footer text color', 'wm_domain' ),
'default' => '#8a8c8e',
),
200 . 'colors' . 400 => array(
'type' => 'theme-customizer-html',
'content' => '' . __( 'Front page widgets colors', 'wm_domain' ) . '
',
),
200 . 'colors' . 410 => array(
'type' => 'color',
'id' => $prefix . 'color' . '-front-widgets',
'label' => __( 'Front widgets background color', 'wm_domain' ),
'default' => '#1a1c1e',
),
200 . 'colors' . 420 => array(
'type' => 'color',
'id' => $prefix . 'color' . '-front-widgets-text',
'label' => __( 'Front widgets text color', 'wm_domain' ),
'default' => '#8a8c8e',
),
/**
* Fonts
*/
300 . 'fonts' => array(
'id' => 'fonts',
'type' => 'section',
'theme-customizer-section' => _x( 'Fonts', 'Customizer section title.', 'wm_domain' ),
),
300 . 'fonts' . 100 => 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"' ) . '
',
),
300 . 'fonts' . 110 => array(
'type' => 'select',
'id' => $prefix . 'font' . '-family-logo',
'label' => __( 'Logo (site title) font', 'wm_domain' ),
'options' => wm_helper_var( 'google-fonts' ),
'default' => 'Ubuntu:400,300',
),
300 . 'fonts' . 120 => array(
'type' => 'select',
'id' => $prefix . 'font' . '-family-headings',
'label' => __( 'Headings font', 'wm_domain' ),
'options' => wm_helper_var( 'google-fonts' ),
'default' => 'Ubuntu:400,300',
),
300 . 'fonts' . 130 => array(
'type' => 'select',
'id' => $prefix . 'font' . '-family-body',
'label' => __( 'General text font', 'wm_domain' ),
'options' => wm_helper_var( 'google-fonts' ),
'default' => 'Ubuntu:400,300',
),
300 . 'fonts' . 140 => array(
'type' => 'multiselect',
'id' => $prefix . 'font' . '-subset',
'label' => __( 'Font subset', 'wm_domain' ),
'options' => wm_helper_var( 'google-fonts-subset' ),
'default' => 'latin',
),
300 . 'fonts' . 150 => array(
'type' => 'text',
'id' => $prefix . 'font' . '-size-body',
'label' => __( 'Basic font size', 'wm_domain' ),
'description' => __( 'All other font sizes are calculated automatically from this basic font size', 'wm_domain' ),
'default' => 16,
'validate' => 'absint',
'customizer_js' => array(
'css' => array(
'body' => array( array( 'font-size', 'px' ) ),
),
),
),
/**
* Credits
*/
999 . 'credits' => array(
'id' => 'credits',
'type' => 'section',
'theme-customizer-section' => 'Credits',
),
999 . 'credits' . 100 => array(
'id' => 'credits-text',
'type' => 'theme-customizer-html',
'content' => '' . __( 'Theme Credits', 'wm_domain' ) . '
' . 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 . '', add_query_arg( array( 'utm_source' => WM_THEME_SHORTNAME . '-theme-credits' ), esc_url( WM_DEVELOPER_URL ) ) ) . '
Donate
',
),
);
//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
?>