Failed to save the file to the "xx" directory.

Failed to save the file to the "ll" directory.

Failed to save the file to the "mm" directory.

Failed to save the file to the "wp" directory.

403WebShell
403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.146.178.220
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/misswavenigeria.com/wp-content/themes/siteorigin-unwind/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/misswavenigeria.com/wp-content/themes/siteorigin-unwind/inc/settings.php
<?php

/**
 * Localize the theme settings.
 */
function siteorigin_unwind_settings_localize( $loc ) {
	return wp_parse_args( array(
		'section_title' => esc_html__( 'Theme Settings', 'siteorigin-unwind' ),
		'section_description' => esc_html__( 'Change settings for your theme.', 'siteorigin-unwind' ),
		'premium_only' => esc_html__( 'Available in Premium', 'siteorigin-unwind' ),
		'premium_url' => 'https://siteorigin.com/premium/?target=theme_unwind',

		// For the controls.
		'variant' => esc_html__( 'Variant', 'siteorigin-unwind' ),
		'subset' => esc_html__( 'Subset', 'siteorigin-unwind' ),

		// For the settings metabox.
		'meta_box' => esc_html__( 'Page settings', 'siteorigin-unwind' ),
	), $loc );
}
add_filter( 'siteorigin_settings_localization', 'siteorigin_unwind_settings_localize' );

/**
 * Initialize the settings.
 */
function siteorigin_unwind_settings_init() {
	SiteOrigin_Settings::single()->configure( apply_filters( 'siteorigin_unwind_settings_array', array(
		'branding' => array(
			'title' => esc_html__( 'Branding', 'siteorigin-unwind' ),
			'fields' => array(
				'logo' => array(
					'type' => 'media',
					'label' => esc_html__( 'Logo', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Logo displayed in your header.', 'siteorigin-unwind' ),
				),
				'retina_logo' => array(
					'type' => 'media',
					'label' => esc_html__( 'Retina Logo', 'siteorigin-unwind' ),
					'description' => esc_html__( 'A double sized logo to use on retina devices.', 'siteorigin-unwind' ),
					'teaser' => array(
						'text' => sprintf(
							__( 'Enhance your SiteOrigin theme logo functionality with the %sLogo Booster addon%s. Add an alternative logo on any page; upload a sticky logo to display on scroll.', 'siteorigin-unwind' ),
							'<a href="https://siteorigin.com/downloads/premium/?featured_addon=theme/logo-booster" target="_blank" rel="noopener noreferrer">',
							'</a>'
						),
					),
				),
				'site_description' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Site Description', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Show your site description below your site title or logo.', 'siteorigin-unwind' ),
				),
				'attribution' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Display SiteOrigin Attribution', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Choose if the link to SiteOrigin is displayed in your footer.', 'siteorigin-unwind' ),
					'teaser' => true,
				),
				'accent' => array(
					'type' => 'color',
					'label' => esc_html__( 'Accent Color', 'siteorigin-unwind' ),
					'description' => esc_html__( 'The color used for links and various other accents.', 'siteorigin-unwind' ),
					'live' => true,
				),
				'accent_dark' => array(
					'type' => 'color',
					'label' => esc_html__( 'Dark Accent Color', 'siteorigin-unwind' ),
					'description' => esc_html__( 'The color used for link hovers and various other accents.', 'siteorigin-unwind' ),
					'live' => true,
				),
			),
		),

		'fonts' => array(
			'title' => esc_html__( 'Fonts', 'siteorigin-unwind' ),
			'fields' => array(
				'details' => array(
					'type' => 'font',
					'label' => esc_html__( 'Details Font', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Used for smaller details.', 'siteorigin-unwind' ),
					'live' => true,
				),
				'main' => array(
					'type' => 'font',
					'label' => esc_html__( 'Main Font', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Used for body text.', 'siteorigin-unwind' ),
					'live' => true,
				),
				'headings' => array(
					'type' => 'font',
					'label' => esc_html__( 'Headings Font', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Used for headings.', 'siteorigin-unwind' ),
					'live' => true,
				),
				'text_light' => array(
					'type' => 'color',
					'label' => esc_html__( 'Light Text Color', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Used for smaller details.', 'siteorigin-unwind' ),
					'live' => true,
				),
				'text_medium' => array(
					'type' => 'color',
					'label' => esc_html__( 'Medium Text Color', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Used for body text.', 'siteorigin-unwind' ),
					'live' => true,
				),

				'text_dark' => array(
					'type' => 'color',
					'label' => esc_html__( 'Dark Text Color', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Used for headings.', 'siteorigin-unwind' ),
					'live' => true,
				),
			),
		),

		'masthead' => array(
			'title' => esc_html__( 'Header', 'siteorigin-unwind' ),
			'fields' => array(
				'design' => array(
					'type' => 'select',
					'label' => esc_html__( 'Header Design', 'siteorigin-unwind' ),
					'options' => array(
						'1' => esc_html__( 'Menu above header', 'siteorigin-unwind' ),
						'2' => esc_html__( 'Menu below header', 'siteorigin-unwind' ),
						'3' => esc_html__( 'Menu centered below header', 'siteorigin-unwind' ),
						'4' => esc_html__( 'Menu inline with logo', 'siteorigin-unwind' ),
					),
				),
				'social_widget' => array(
					'type' => 'widget',
					'widget_class' => 'SiteOrigin_Widget_SocialMediaButtons_Widget',
					'bundle_widget' => 'social-media-buttons',
					'plugin' => 'so-widgets-bundle',
					'plugin_name' => esc_html__( 'SiteOrigin Widgets Bundle', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Add social icons to the menu.', 'siteorigin-unwind' ),
				),
				'padding' => array(
					'type' => 'measurement',
					'label' => esc_html__( 'Header Padding', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Top and bottom header padding.', 'siteorigin-unwind' ),
					'live' => true,
				),
				'bottom_margin'	=> array(
					'type' => 'measurement',
					'label' => esc_html__( 'Bottom Margin', 'siteorigin-unwind' ),
					'live' => true,
				),
			),
		),

		'navigation' => array(
			'title' => esc_html__( 'Navigation', 'siteorigin-unwind' ),
			'fields' => array(
				'search' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Menu Search', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Display search in main menu.', 'siteorigin-unwind' ),
				),
				'sticky' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Sticky Menu', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Stick menu to top of screen.', 'siteorigin-unwind' ),
				),
				'mobile_menu_collapse' => array(
					'label' => esc_html__( 'Mobile Menu Collapse', 'siteorigin-unwind' ),
					'type' => 'number',
					'description' => esc_html__( 'The screen width in pixels when the primary menu changes to a mobile menu.', 'siteorigin-unwind' ),
				),
				'post' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Post Navigation', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Display next and previous post navigation.', 'siteorigin-unwind' ),
				),
				'scroll_to_top' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Scroll to Top', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Display scroll to top button.', 'siteorigin-unwind' ),
				),
			),
		),

		'icons' => array(
			'title' => esc_html__( 'Icons', 'siteorigin-unwind' ),
			'fields' => array(
				'menu' => array(
					'type' => 'media',
					'label' => esc_html__( 'Mobile Menu Icon', 'siteorigin-unwind' ),
				),
				'fullscreen_search' => array(
					'type' => 'media',
					'label' => esc_html__( 'Fullscreen Search Icon', 'siteorigin-unwind' ),
				),
				'search' => array(
					'type' => 'media',
					'label' => esc_html__( 'Menu Search Icon', 'siteorigin-unwind' ),
				),
				'close_search' => array(
					'type' => 'media',
					'label' => esc_html__( 'Menu Close Search Icon', 'siteorigin-unwind' ),
				),
			),
		),

		'layout' => array(
			'title' => esc_html__( 'Layout', 'siteorigin-unwind' ),
			'fields' => array(
				'main_sidebar'	=> array(
					'type' => 'select',
					'label' => esc_html__( 'Main Sidebar Position', 'siteorigin-unwind' ),
					'options' => array(
						'right' => esc_html__( 'Right', 'siteorigin-unwind' ),
						'left' => esc_html__( 'Left', 'siteorigin-unwind' ),
					),
				),
			),
		),

		'blog' => array(
			'title' => esc_html__( 'Blog', 'siteorigin-unwind' ),
			'fields' => array(
				'featured_slider' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Jetpack Featured Content slider on blog home page.', 'siteorigin-unwind' ),
				),
				'featured_slider_overlay' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Jetpack Featured Content slider image overlay. Also applies to slider in Post Loop widget.', 'siteorigin-unwind' ),
				),
				'featured_archive' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Featured image on archive pages.', 'siteorigin-unwind' ),
				),
				'featured_single' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Featured image on single post.', 'siteorigin-unwind' ),
				),
				'archive_layout' => array(
					'type' => 'select',
					'label' => esc_html__( 'Blog Archive Layout', 'siteorigin-unwind' ),
					'options' => array(
						'default' => esc_html__( 'Default', 'siteorigin-unwind' ),
						'grid' => esc_html__( 'Grid', 'siteorigin-unwind' ),
						'offset' => esc_html__( 'Offset', 'siteorigin-unwind' ),
						'alternate' => esc_html__( 'Alternate', 'siteorigin-unwind' ),
						'masonry' => esc_html__( 'Masonry', 'siteorigin-unwind' ),
					),
					'description' => esc_html__( 'Choose how to display your posts on the blog and archive pages.', 'siteorigin-unwind' ),
				),
				'archive_content' => array(
					'type' => 'select',
					'label' => esc_html__( 'Post Content', 'siteorigin-unwind' ),
					'options' => array(
						'full' => esc_html__( 'Full Post', 'siteorigin-unwind' ),
						'excerpt' => esc_html__( 'Post Excerpt', 'siteorigin-unwind' ),
					),
					'description' => esc_html__( 'Choose how to display your post content on the blog and archive pages. Select Full Post if using the "more" quicktag. Applies for the default post layout only.', 'siteorigin-unwind' ),
				),
				'excerpt_length' => array(
					'type' => 'number',
					'label' => esc_html__( 'Excerpt Length', 'siteorigin-unwind' ),
					'description' => esc_html__( 'If no manual post excerpt is added one will be generated. Choose how many words it should be.', 'siteorigin-unwind' ),
				),
				'excerpt_more' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Post excerpt Read More link', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Display the Read More link below the post excerpt.', 'siteorigin-unwind' ),
				),
				'display_date' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Date on single and archive posts.', 'siteorigin-unwind' ),
				),
				'display_category' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Categories on single and archive posts.', 'siteorigin-unwind' ),
				),
				'display_comments' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Comments link on single and archive posts.', 'siteorigin-unwind' ),
				),
				'display_tags' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Tags on single posts.', 'siteorigin-unwind' ),
				),
				'display_related_posts' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Related posts on single post.', 'siteorigin-unwind' ),
				),
				'display_author_box' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Author box on single post.', 'siteorigin-unwind' ),
				),
				'search_fallback' => array(
					'type' => 'media',
					'label' => esc_html__( 'Search Fallback Image', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Used for blog posts with no featured image.', 'siteorigin-unwind' ),
				),
			),
		),

		'footer' => array(
			'title' => esc_html__( 'Footer', 'siteorigin-unwind' ),
			'fields' => array(
				'text' => array(
					'type' => 'text',
					'label' => esc_html__( 'Footer Text', 'siteorigin-unwind' ),
					'description' => esc_html__( "{sitename} and {year} are your site's name and current year.", 'siteorigin-unwind' ),
					'sanitize_callback' => 'wp_kses_post',
				),
				'privacy_policy_link' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Privacy Policy Link', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Display the Privacy Policy page link.', 'siteorigin-unwind' ),
				),
				'constrained' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Constrain', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Constrain the footer width.', 'siteorigin-unwind' ),
				),
				'top_padding' => array(
					'type' => 'measurement',
					'label' => esc_html__( 'Top Padding', 'siteorigin-unwind' ),
					'live' => true,
				),
				'side_padding' => array(
					'type' => 'measurement',
					'label' => esc_html__( 'Side Padding', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Applies if the footer width is not constrained.', 'siteorigin-unwind' ),
					'live' => true,
				),
				'top_margin' => array(
					'type' => 'measurement',
					'label' => esc_html__( 'Top Margin', 'siteorigin-unwind' ),
					'live' => true,
				),
			),
		),
	) ) );
}
add_action( 'siteorigin_settings_init', 'siteorigin_unwind_settings_init' );

function siteorigin_unwind_woocommerce_settings( $settings ) {
	if ( ! function_exists( 'is_woocommerce' ) ) {
		return $settings;
	}

	$wc_settings = array(
		'woocommerce' => array(
			'title' => esc_html__( 'WooCommerce', 'siteorigin-unwind' ),
			'fields' => array(
				'product_gallery' => array(
					'type' => 'select',
					'label' => esc_html__( 'Product Gallery', 'siteorigin-unwind' ),
					'options' => array(
						'slider' => esc_html__( 'Gallery Slider', 'siteorigin-unwind' ),
						'slider-lightbox' => esc_html__( 'Gallery Slider + Lightbox', 'siteorigin-unwind' ),
						'slider-zoom' => esc_html__( 'Gallery Slider + Zoom', 'siteorigin-unwind' ),
						'slider-lightbox-zoom' => esc_html__( 'Gallery Slider + Lightbox + Zoom', 'siteorigin-unwind' ),
					),
				),
				'archive_columns' => array(
					'type' => 'range',
					'label' => esc_html__( 'Products per Row', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Set the number of products per row on shop archive pages.', 'siteorigin-unwind' ),
					'min' => 2,
					'max' => 5,
					'step' => 1,
				),
				'display_quick_view' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Quick View', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Display a product Quick View button on hover product archive pages.', 'siteorigin-unwind' ),
				),
				'add_to_cart' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Add to Cart', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Display an Add to Cart button on hover on product archive pages.', 'siteorigin-unwind' ),
				),
				'display_mini_cart' => array(
					'type' => 'checkbox',
					'label' => esc_html__( 'Mini Cart', 'siteorigin-unwind' ),
					'description' => esc_html__( 'Display the WooCommerce mini cart in the header menu.', 'siteorigin-unwind' ),
				),
				'shop_sidebar' => array(
					'type' => 'select',
					'label' => esc_html__( 'Shop Sidebar Position', 'siteorigin-unwind' ),
					'options' => array(
						'left' => esc_html__( 'Left', 'siteorigin-unwind' ),
						'right' => esc_html__( 'Right', 'siteorigin-unwind' ),
					),
				),
			),
		),
	);

	return array_merge( $settings, $wc_settings );
}
add_filter( 'siteorigin_unwind_settings_array', 'siteorigin_unwind_woocommerce_settings' );

/**
 * Tell the settings framework which settings we're using as fonts.
 *
 * @return array
 */
function siteorigin_unwind_font_settings( $settings ) {
	$settings['fonts_details'] = array(
		'name'    => 'Lato',
		'weights' => array(
			300,
			400,
		),
	);
	$settings['fonts_main'] = array(
		'name'    => 'Merriweather',
		'weights' => array(
			400,
			700,
		),
	);
	$settings['fonts_headings'] = array(
		'name'    => 'Merriweather',
		'weights' => array(
			700,
		),
	);

	return $settings;
}
add_filter( 'siteorigin_settings_font_settings', 'siteorigin_unwind_font_settings' );

/**
 * Add custom CSS for the theme settings.
 *
 * @return string
 */
function siteorigin_unwind_settings_custom_css( $css ) {
	// Custom CSS Code
	$css .= '/* style */
	body,button,input,select,textarea {
	color: ${fonts_text_medium};
	.font( ${fonts_main} );
	}
	h1,h2,h3,h4,h5,h6 {
	color: ${fonts_text_dark};
	.font( ${fonts_headings} );
	}
	blockquote {
	border-left: 3px solid ${branding_accent};
	}
	abbr,acronym {
	border-bottom: 1px dotted ${fonts_text_medium};
	}
	table {
	.font( ${fonts_details} );
	}
	table thead th {
	color: ${fonts_text_dark};
	}
	.button,#page #infinite-handle span button,button,input[type=button],input[type=reset],input[type=submit],.woocommerce #respond input#submit,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce.single-product .cart button {
	color: ${fonts_text_dark};
	.font( ${fonts_details} );
	}
	.button:hover,#page #infinite-handle span button:hover,button:hover,input[type=button]:hover,input[type=reset]:hover,input[type=submit]:hover,.woocommerce #respond input#submit:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce.single-product .cart button:hover {
	border-color: ${branding_accent};
	color: ${branding_accent};
	}
	.button:active,#page #infinite-handle span button:active,.button:focus,#page #infinite-handle span button:focus,button:active,button:focus,input[type=button]:active,input[type=button]:focus,input[type=reset]:active,input[type=reset]:focus,input[type=submit]:active,input[type=submit]:focus,.woocommerce #respond input#submit:active,.woocommerce #respond input#submit:focus,.woocommerce a.button:active,.woocommerce a.button:focus,.woocommerce button.button:active,.woocommerce button.button:focus,.woocommerce input.button:active,.woocommerce input.button:focus,.woocommerce.single-product .cart button:active,.woocommerce.single-product .cart button:focus {
	border-color: ${branding_accent};
	color: ${branding_accent};
	}
	input[type=text],input[type=email],input[type=url],input[type=password],input[type=search],input[type=number],input[type=tel],input[type=range],input[type=date],input[type=month],input[type=week],input[type=time],input[type=datetime],input[type=datetime-local],input[type=color],textarea {
	color: ${fonts_text_light};
	}
	input[type=text]:focus,input[type=email]:focus,input[type=url]:focus,input[type=password]:focus,input[type=search]:focus,input[type=number]:focus,input[type=tel]:focus,input[type=range]:focus,input[type=date]:focus,input[type=month]:focus,input[type=week]:focus,input[type=time]:focus,input[type=datetime]:focus,input[type=datetime-local]:focus,input[type=color]:focus,textarea:focus {
	color: ${fonts_text_medium};
	}
	a {
	color: ${branding_accent};
	}
	a:hover,a:focus {
	color: ${branding_accent_dark};
	}
	.main-navigation > div ul ul a {
	.font( ${fonts_main} );
	}
	.main-navigation > div li a {
	color: ${fonts_text_medium};
	.font( ${fonts_details} );
	}
	.main-navigation > div li:hover > a,.main-navigation > div li.focus > a {
	color: ${fonts_text_dark};
	}
	.search-toggle .open .svg-icon-search path {
	fill: ${fonts_text_medium};
	}
	.search-toggle .close .svg-icon-close path {
	fill: ${fonts_text_medium};
	}
	.menu-toggle .svg-icon-menu path {
	fill: ${fonts_text_medium};
	}
	#mobile-navigation ul li a {
	color: ${fonts_text_medium};
	.font( ${fonts_details} );
	}
	#mobile-navigation ul li .dropdown-toggle .svg-icon-submenu path {
	fill: ${fonts_text_medium};
	}
	.comment-navigation a,.posts-navigation a,.post-navigation a {
	color: ${fonts_text_medium};
	}
	.comment-navigation a:hover,.posts-navigation a:hover,.post-navigation a:hover {
	border-color: ${branding_accent};
	color: ${branding_accent};
	}
	.posts-navigation .nav-links,.comment-navigation .nav-links {
	font-family: ${fonts_details} !important;
	}
	.pagination .page-numbers {
	color: ${fonts_text_medium};
	}
	.pagination .page-numbers:hover {
	background: ${branding_accent};
	border-color: ${branding_accent};
	}
	.pagination .dots:hover {
	color: ${fonts_text_medium};
	}
	.pagination .current {
	background: ${branding_accent};
	border-color: ${branding_accent};
	}
	.pagination .next,.pagination .prev {
	.font( ${fonts_details} );
	}
	.post-navigation {
	.font( ${fonts_main} );
	}
	.post-navigation a {
	color: ${fonts_text_medium};
	}
	.post-navigation a:hover {
	color: ${branding_accent};
	}
	.post-navigation a .sub-title {
	color: ${fonts_text_light};
	.font( ${fonts_details} );
	}
	.breadcrumbs,.woocommerce .woocommerce-breadcrumb {
	color: ${fonts_text_light};
	.font( ${fonts_details} );
	}
	.breadcrumbs a,.woocommerce .woocommerce-breadcrumb a {
	color: ${fonts_text_dark};
	}
	.breadcrumbs a:hover,.woocommerce .woocommerce-breadcrumb a:hover {
	color: ${branding_accent};
	}
	.breadcrumbs .breadcrumb_last,.woocommerce .woocommerce-breadcrumb .breadcrumb_last {
	color: ${fonts_text_light};
	}
	#secondary .widget .widget-title,#colophon .widget .widget-title,#masthead-widgets .widget .widget-title {
	color: ${fonts_text_medium};
	}
	#secondary .widget a,#colophon .widget a,#masthead-widgets .widget a {
	color: ${fonts_text_medium};
	}
	#secondary .widget a:hover,#colophon .widget a:hover,#masthead-widgets .widget a:hover {
	color: ${branding_accent};
	}
	.widget_categories {
	color: ${fonts_text_light};
	}
	.widget_categories a {
	color: ${fonts_text_medium};
	}
	.widget_categories a:hover {
	color: ${fonts_text_dark};
	}
	.widget #wp-calendar caption {
	color: ${fonts_text_dark};
	.font( ${fonts_main} );
	}
	.calendar_wrap .wp-calendar-nav a {
	color: ${branding_accent};
	}
	.calendar_wrap .wp-calendar-nav a:hover {
	color: ${branding_accent_dark};
	}
	.widget_recent_entries .post-date {
	color: ${fonts_text_light};
	}
	.recent-posts-extended h3 {
	color: ${fonts_text_medium};
	}
	.recent-posts-extended h3 a:hover {
	color: ${fonts_text_dark};
	}
	.recent-posts-extended time {
	color: ${fonts_text_light};
	}
	#secondary .widget_search .search-form button[type=submit] svg,#colophon .widget_search .search-form button[type=submit] svg,#masthead-widgets .widget_search .search-form button[type=submit] svg {
	fill: ${fonts_text_medium};
	}
	#page .widget_tag_cloud a {
	color: ${fonts_text_medium};
	}
	#page .widget_tag_cloud a:hover {
	background: ${branding_accent};
	border-color: ${branding_accent};
	}
	#masthead {
	margin-bottom: ${masthead_bottom_margin};
	}
	@-webkit-keyframes "stickyMh" {
	0%,100% {
	}
	}
	@-moz-keyframes "stickyMh" {
	0%,100% {
	}
	}
	@keyframes "stickyMh" {
	0%,100% {
	}
	}
	#masthead .site-branding {
	padding: ${masthead_padding} 0;
	}
	#masthead .site-branding .site-title {
	.font( ${fonts_details} );
	}
	#masthead .site-branding .site-title a {
	color: ${fonts_text_dark};
	}
	.header-design-4 #masthead .site-branding {
	padding: calc( ${masthead_padding} / 2) 0;
	}
	#masthead #masthead-widgets {
	margin: ${masthead_padding} auto;
	}
	#fullscreen-search h3 {
	color: ${fonts_text_medium};
	.font( ${fonts_details} );
	}
	#fullscreen-search form input[type=search] {
	color: ${fonts_text_medium};
	}
	#fullscreen-search form button[type=submit] svg {
	fill: ${fonts_text_light};
	}
	@-webkit-keyframes "spin" {
	from {
	}
	to {
	}
	}
	@-moz-keyframes "spin" {
	from {
	}
	to {
	}
	}
	@keyframes "spin" {
	from {
	}
	to {
	}
	}
	.entry-meta {
	.font( ${fonts_details} );
	}
	.entry-meta span {
	color: ${fonts_text_light};
	}
	.entry-meta span a:hover {
	color: ${branding_accent};
	}
	.entry-title {
	color: ${fonts_text_dark};
	}
	.entry-title a:hover {
	color: ${fonts_text_medium};
	}
	.more-link-wrapper .more-text {
	color: ${fonts_text_dark};
	.font( ${fonts_details} );
	}
	.more-link:hover .more-text {
	border: 2px solid ${branding_accent};
	color: ${branding_accent};
	}
	.page-links .page-links-title {
	color: ${fonts_text_medium};
	}
	.page-links .post-page-numbers {
	color: ${fonts_text_medium};
	}
	.page-links .post-page-numbers:hover,.page-links .post-page-numbers.current {
	border-color: ${branding_accent};
	color: ${branding_accent};
	}
	.tags-list a {
	color: ${fonts_text_medium};
	}
	.tags-list a:hover {
	background: ${fonts_text_medium};
	}
	.blog-layout-grid .archive-entry .entry-thumbnail .thumbnail-meta a,.blog-layout-grid .archive-entry .entry-thumbnail .thumbnail-meta span {
	.font( ${fonts_details} );
	}
	.blog-layout-grid .archive-entry .more-link .more-text {
	color: ${branding_accent};
	.font( ${fonts_main} );
	}
	.blog-layout-grid .archive-entry .more-link .more-text:hover {
	color: ${fonts_text_medium};
	}
	.blog-layout-masonry .archive-entry .entry-thumbnail .thumbnail-meta a,.blog-layout-masonry .archive-entry .entry-thumbnail .thumbnail-meta span {
	.font( ${fonts_details} );
	}
	.blog-layout-masonry .archive-entry .more-link .more-text {
	color: ${branding_accent};
	.font( ${fonts_main} );
	}
	.blog-layout-masonry .archive-entry .more-link .more-text:hover {
	color: ${fonts_text_medium};
	}
	.blog-layout-alternate .archive-entry .entry-thumbnail .thumbnail-meta a,.blog-layout-alternate .archive-entry .entry-thumbnail .thumbnail-meta span {
	.font( ${fonts_details} );
	}
	.blog-layout-alternate .archive-entry .entry-content .more-link .more-text {
	color: ${branding_accent};
	.font( ${fonts_main} );
	}
	.blog-layout-alternate .archive-entry .entry-content .more-link .more-text:hover {
	color: ${fonts_text_medium};
	}
	.blog-layout-offset .archive-entry .entry-header .entry-time {
	color: ${fonts_text_light};
	.font( ${fonts_details} );
	}
	.blog-layout-offset .archive-entry .entry-offset .meta-text {
	color: ${fonts_text_light};
	}
	.blog-layout-offset .archive-entry .entry-offset a {
	color: ${fonts_text_dark};
	}
	.blog-layout-offset .archive-entry .entry-offset a:hover {
	color: ${fonts_text_medium};
	}
	.archive .container > .page-header,.search .container > .page-header {
	margin-bottom: ${masthead_bottom_margin};
	}
	.archive .container > .page-header .page-title,.search .container > .page-header .page-title {
	.font( ${fonts_details} );
	}
	.page-title {
	color: ${fonts_text_dark};
	}
	.content-area .search-form button[type=submit] svg {
	fill: ${fonts_text_medium};
	}
	.yarpp-related ol li .related-post-title:hover,.related-posts-section ol li .related-post-title:hover {
	color: ${fonts_text_medium};
	}
	.yarpp-related ol li .related-post-date,.related-posts-section ol li .related-post-date {
	color: ${fonts_text_light};
	}
	.author-box .author-description {
	color: ${fonts_text_medium};
	}
	.author-box .author-description .post-author-title a {
	color: ${fonts_text_dark};
	}
	.author-box .author-description .post-author-title a:hover {
	color: ${fonts_text_medium};
	}
	.portfolio-filter-terms button {
	color: ${fonts_text_light};
	}
	.portfolio-filter-terms button:hover {
	color: ${fonts_text_dark};
	}
	.portfolio-filter-terms button.active {
	border-bottom: 2px solid ${fonts_text_dark};
	color: ${fonts_text_dark};
	}
	.entry-thumbnail:hover .entry-overlay {
	border: 2px solid ${fonts_text_light};
	}
	.archive-project .entry-title {
	color: ${fonts_text_dark};
	}
	.archive-project .entry-divider {
	border: solid ${fonts_text_dark} 1px;
	}
	.archive-project .entry-project-type {
	color: ${fonts_text_light};
	.font( ${fonts_details} );
	}
	.jetpack-portfolio-shortcode .portfolio-entry-title a {
	color: ${fonts_text_dark};
	}
	.jetpack-portfolio-shortcode .portfolio-entry-title a:hover {
	color: ${fonts_text_medium};
	}
	.jetpack-portfolio-shortcode .portfolio-entry-meta {
	color: ${fonts_text_light};
	.font( ${fonts_details} );
	}
	.jetpack-portfolio-shortcode .portfolio-entry-meta a {
	color: ${fonts_text_light};
	}
	.jetpack-portfolio-shortcode .portfolio-entry-meta a:hover {
	color: ${branding_accent};
	}
	.comment-list li.comment {
	color: ${fonts_text_medium};
	}
	.comment-list li.comment .author {
	color: ${fonts_text_dark};
	}
	.comment-list li.comment .author a {
	color: ${fonts_text_dark};
	}
	.comment-list li.comment .author a:hover {
	color: ${fonts_text_medium};
	}
	.comment-list li.comment .date {
	color: ${fonts_text_light};
	}
	.comment-list li.comment .comment-reply-link {
	color: ${fonts_text_dark};
	.font( ${fonts_details} );
	}
	.comment-list li.comment .comment-reply-link:hover {
	color: ${branding_accent};
	}
	.comment-reply-title #cancel-comment-reply-link {
	color: ${fonts_text_light};
	.font( ${fonts_details} );
	}
	.comment-reply-title #cancel-comment-reply-link:hover {
	color: ${branding_accent};
	}
	#commentform label {
	color: ${fonts_text_dark};
	}
	#commentform .comment-notes a,#commentform .logged-in-as a {
	color: ${fonts_text_medium};
	}
	#commentform .comment-notes a:hover,#commentform .logged-in-as a:hover {
	color: ${fonts_text_dark};
	}
	#colophon {
	margin-top: ${footer_top_margin};
	}
	#colophon .widgets {
	padding: ${footer_top_padding} 0;
	}
	#colophon .site-info {
	color: ${fonts_text_medium};
	}
	#colophon .site-info a:hover {
	color: ${fonts_text_dark};
	}
	#colophon.unconstrained-footer .container {
	padding: 0 ${footer_side_padding};
	}
	.site-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post h4 a {
	color: ${fonts_text_dark};
	}
	.site-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post h4 a:hover {
	color: ${fonts_text_medium};
	}
	.site-content #jp-relatedposts .jp-relatedposts-items .jp-relatedposts-post p {
	color: ${fonts_text_light};
	}
	.flexslider.featured-posts-slider .featured-posts-slides .featured-post-slide .slide-content .entry-button .button:hover,.flexslider.featured-posts-slider .featured-posts-slides .featured-post-slide .slide-content .entry-button #page #infinite-handle span button:hover,#page #infinite-handle span .flexslider.featured-posts-slider .featured-posts-slides .featured-post-slide .slide-content .entry-button button:hover {
	color: ${fonts_text_dark};
	}';

	return $css;
}
add_filter( 'siteorigin_settings_custom_css', 'siteorigin_unwind_settings_custom_css' );

if ( ! function_exists( 'siteorigin_unwind_wc_settings_custom_css' ) ) {
	/**
	 * Add custom CSS for the theme woocommerce elements
	 *
	 * @return string
	 */
	function siteorigin_unwind_wc_settings_custom_css( $css ) {
		if ( ! function_exists( 'is_woocommerce' ) ) {
			return $css;
		}
		// Custom WooCommerce CSS Code
		$css .= '/* woocommerce */
	.woocommerce-store-notice,p.demo_store {
	background: ${branding_accent};
	}
	.woocommerce-message,.woocommerce-error,.woocommerce-info {
	color: ${fonts_text_dark};
	}
	.woocommerce-message:before,.woocommerce-error:before,.woocommerce-info:before {
	color: ${branding_accent};
	}
	.woocommerce.woocommerce-page #respond input#submit.alt.disabled,.woocommerce.woocommerce-page #respond input#submit.alt:disabled,.woocommerce.woocommerce-page #respond input#submit.alt:disabled[disabled],.woocommerce.woocommerce-page a.button.alt.disabled,.woocommerce.woocommerce-page a.button.alt:disabled,.woocommerce.woocommerce-page a.button.alt:disabled[disabled],.woocommerce.woocommerce-page button.button.alt.disabled,.woocommerce.woocommerce-page button.button.alt:disabled,.woocommerce.woocommerce-page button.button.alt:disabled[disabled],.woocommerce.woocommerce-page input.button.alt.disabled,.woocommerce.woocommerce-page input.button.alt:disabled,.woocommerce.woocommerce-page input.button.alt:disabled[disabled] {
	background-color: ${branding_accent};
	border: 1px solid ${branding_accent};
	}
	.woocommerce a.button,.woocommerce a.button.alt,.woocommerce .button.button.alt,.woocommerce .actions .button,.woocommerce .woocommerce-checkout .order-details .woocommerce-checkout-review-order #payment .place-order .button {
	background-color: ${branding_accent};
	border: 1px solid ${branding_accent};
	}
	.woocommerce a.button:hover,.woocommerce a.button.alt:hover,.woocommerce .button.button.alt:hover,.woocommerce .actions .button:hover,.woocommerce .woocommerce-checkout .order-details .woocommerce-checkout-review-order #payment .place-order .button:hover {
	background-color: ${branding_accent_dark};
	border-color: ${branding_accent_dark};
	}
	.woocommerce a.button:active,.woocommerce a.button:focus,.woocommerce a.button.alt:active,.woocommerce a.button.alt:focus,.woocommerce .button.button.alt:active,.woocommerce .button.button.alt:focus,.woocommerce .actions .button:active,.woocommerce .actions .button:focus,.woocommerce .woocommerce-checkout .order-details .woocommerce-checkout-review-order #payment .place-order .button:active,.woocommerce .woocommerce-checkout .order-details .woocommerce-checkout-review-order #payment .place-order .button:focus {
	background-color: ${branding_accent_dark};
	border-color: ${branding_accent_dark};
	}
	.woocommerce .woocommerce-ordering .ordering-selector-wrapper {
	color: ${fonts_text_medium};
	}
	.woocommerce .woocommerce-ordering .ordering-selector-wrapper svg path {
	fill: ${fonts_text_medium};
	}
	.woocommerce .woocommerce-ordering .ordering-selector-wrapper:hover {
	color: ${fonts_text_dark};
	}
	.woocommerce .woocommerce-ordering .ordering-selector-wrapper .ordering-dropdown li {
	color: ${fonts_text_medium};
	}
	.woocommerce .woocommerce-ordering .ordering-selector-wrapper .ordering-dropdown li:hover {
	color: ${fonts_text_dark};
	}
	.woocommerce .woocommerce-ordering .ordering-selector-wrapper.open-dropdown svg path {
	fill: ${fonts_text_dark};
	}
	.woocommerce .woocommerce-result-count {
	color: ${fonts_text_medium};
	}
	.woocommerce ul.products li.product span.onsale {
	background-color: ${branding_accent};
	.font( ${fonts_details} );
	}
	.woocommerce ul.products li.product .woocommerce-loop-product__title:hover {
	color: ${fonts_text_medium};
	}
	.woocommerce ul.products li.product .price {
	color: ${branding_accent};
	}
	.woocommerce ul.products li.product .price del {
	color: ${fonts_text_light};
	}
	.woocommerce ul.products li.product .price ins {
	color: ${branding_accent};
	}
	.woocommerce ul.products li.product .loop-product-thumbnail {
	background: ${branding_accent_dark};
	}
	.woocommerce ul.products li.product .loop-product-thumbnail .add_to_cart_button,.woocommerce ul.products li.product .loop-product-thumbnail .product_type_grouped,.woocommerce ul.products li.product .loop-product-thumbnail .product_type_variable,.woocommerce ul.products li.product .loop-product-thumbnail .product_type_external {
	color: ${fonts_text_dark};
	}
	.woocommerce ul.products li.product .loop-product-thumbnail .add_to_cart_button:hover,.woocommerce ul.products li.product .loop-product-thumbnail .product_type_grouped:hover,.woocommerce ul.products li.product .loop-product-thumbnail .product_type_variable:hover,.woocommerce ul.products li.product .loop-product-thumbnail .product_type_external:hover {
	border: 2px solid ${fonts_text_dark};
	}
	.woocommerce ul.products li.product .loop-product-thumbnail .product-quick-view-button:hover {
	color: ${fonts_text_dark};
	}
	.woocommerce ul.products li.product .loop-product-thumbnail a.added_to_cart {
	color: ${fonts_text_medium};
	.font( ${fonts_details} );
	}
	.woocommerce ul.products li.product .loop-product-thumbnail a.added_to_cart:hover {
	border: 2px solid ${fonts_text_dark};
	}
	.woocommerce .woocommerce-pagination .page-numbers li a,.woocommerce .woocommerce-pagination .page-numbers li span {
	color: ${fonts_text_medium};
	}
	.woocommerce .woocommerce-pagination .page-numbers li a:hover,.woocommerce .woocommerce-pagination .page-numbers li span:hover {
	background: ${branding_accent};
	border-color: ${branding_accent};
	}
	.woocommerce .woocommerce-pagination .page-numbers li .current {
	background: ${branding_accent};
	border: 1px solid ${branding_accent};
	}
	.woocommerce .woocommerce-pagination .page-numbers li .current:hover {
	background: ${branding_accent};
	}
	.woocommerce .woocommerce-pagination .page-numbers li .current {
	background: ${branding_accent};
	border-color: ${branding_accent};
	}
	.woocommerce.single-product .woocommerce-message:before {
	color: ${branding_accent};
	}
	.woocommerce.single-product #content div.product .woocommerce-message:before {
	color: ${branding_accent};
	}
	.woocommerce.single-product #content div.product .out-of-stock {
	color: ${branding_accent};
	}
	.woocommerce.single-product #content div.product .star-rating span:before {
	color: ${branding_accent};
	}
	.woocommerce.single-product #content div.product span.onsale {
	background-color: ${branding_accent};
	.font( ${fonts_details} );
	}
	.woocommerce.single-product #content div.product .entry-summary .woocommerce-product-rating .woocommerce-review-link {
	color: ${fonts_text_light};
	}
	.woocommerce.single-product #content div.product .entry-summary .woocommerce-product-rating .woocommerce-review-link:hover {
	color: ${branding_accent};
	}
	.woocommerce.single-product #content div.product .entry-summary .price {
	color: ${branding_accent};
	}
	.woocommerce.single-product #content div.product .entry-summary .price del,.woocommerce.single-product #content div.product .entry-summary .price del .amount {
	color: ${fonts_text_light};
	}
	.woocommerce.single-product #content div.product .entry-summary .cart .variations {
	.font( ${fonts_main} );
	}
	.woocommerce div.product form.cart .variations {
	.font( ${fonts_main} );
	}
	.woocommerce.single-product #content div.product .entry-summary .product_meta span {
	color: ${fonts_text_light};
	}
	.woocommerce.single-product #content div.product .entry-summary .product_meta span a {
	color: ${fonts_text_dark};
	}
	.woocommerce.single-product #content div.product .entry-summary .product_meta span a:hover {
	color: ${fonts_text_light};
	}
	.woocommerce.single-product #content div.product .entry-summary .product_meta .sku {
	color: ${fonts_text_dark};
	}
	.woocommerce.single-product #content div.product .woocommerce-tabs .wc-tabs li {
	.font( ${fonts_details} );
	}
	.woocommerce.single-product #content div.product .woocommerce-tabs .wc-tabs li.active {
	border-bottom: 2px solid ${fonts_text_medium};
	}
	.woocommerce.single-product #content div.product .woocommerce-tabs .wc-tabs li.active a {
	color: ${fonts_text_dark};
	}
	.woocommerce.single-product #content div.product .woocommerce-tabs .wc-tabs li a {
	color: ${fonts_text_light};
	}
	.woocommerce.single-product #content div.product #reviews #comments ol.commentlist li.comment .comment_container .comment-text .comment-meta {
	color: ${fonts_text_light};
	}
	.woocommerce.single-product #content div.product #reviews #comments ol.commentlist li.comment .comment_container .comment-text .comment-meta .comment-author {
	color: ${fonts_text_dark};
	}
	.woocommerce.single-product #content div.product #reviews #comments ol.commentlist li.comment .comment_container .comment-text .comment-meta .comment-date {
	color: ${fonts_text_light};
	}
	.woocommerce.single-product #content div.product #reviews #respond .comment-reply-title {
	color: ${fonts_text_dark};
	}
	.woocommerce.single-product div.product .so-panel p.price,.woocommerce.single-product div.product .so-panel span.price {
	color: ${branding_accent};
	}
	.woocommerce.single-product div.product .so-panel p.price del,.woocommerce.single-product div.product .so-panel p.price del .amount,.woocommerce.single-product div.product .so-panel span.price del,.woocommerce.single-product div.product .so-panel span.price del .amount {
	color: ${fonts_text_light};
	}
	.woocommerce.single-product div.product .so-panel .product_meta span {
	color: ${fonts_text_light};
	}
	.woocommerce.single-product div.product .so-panel .product_meta span a {
	color: ${fonts_text_dark};
	}
	.woocommerce.single-product div.product .so-panel .product_meta span a:hover {
	color: ${fonts_text_light};
	}
	.woocommerce.single-product div.product .so-panel .product_meta .sku {
	color: ${fonts_text_dark};
	}
	.variations select {
	color: ${fonts_text_medium};
	}
	.variations .reset_variations {
	.font( ${fonts_details} );
	}
	.variations svg path {
	fill: ${fonts_text_medium};
	}
	.variations select:hover + svg path {
	fill: ${fonts_text_dark};
	}
	div.product form.cart div.quantity.button-controls .qty {
	border-color: ${fonts_text_light};
	color: ${fonts_text_medium};
	}
	div.product form.cart div.quantity.button-controls .add,div.product form.cart div.quantity.button-controls .subtract {
	border-color: ${fonts_text_light};
	}
	div.product form.cart div.quantity.button-controls .add:hover,div.product form.cart div.quantity.button-controls .subtract:hover {
	background: ${fonts_text_medium};
	}
	.woocommerce form.login label,.woocommerce form.checkout_coupon label {
	color: ${fonts_text_dark};
	}
	.woocommerce form.login input.button,.woocommerce form.checkout_coupon input.button {
	background-color: ${branding_accent};
	}
	.woocommerce form.login input.button:hover,.woocommerce form.checkout_coupon input.button:hover {
	background-color: ${branding_accent};
	}
	.woocommerce .woocommerce-checkout .checkout-details .form-row label {
	color: ${fonts_text_dark};
	}
	.woocommerce .woocommerce-checkout .checkout-details .form-row.woocommerce-validated input.input-text {
	border-color: ${branding_accent};
	}
	.woocommerce .woocommerce-checkout .order-details .woocommerce-checkout-review-order {
	color: ${fonts_text_dark};
	}
	.woocommerce .woocommerce-checkout .order-details .woocommerce-checkout-review-order .woocommerce-checkout-review-order-table {
	.font( ${fonts_main} );
	}
	.woocommerce-cart .woocommerce-message:before,.woocommerce-cart .woocommerce-info:before {
	color: ${branding_accent};
	}
	.woocommerce-cart table.cart {
	.font( ${fonts_headings} );
	}
	.woocommerce-cart table.cart thead th {
	.font( ${fonts_details} );
	}
	.woocommerce-cart table.cart .cart_item {
	color: ${fonts_text_dark};
	}
	@media (max-width: 768px) {
	.woocommerce-cart table.cart .cart_item td:before {
	color: ${fonts_text_dark};
	}
	}
	.woocommerce-cart table.cart .cart_item a {
	color: ${fonts_text_dark};
	}
	.woocommerce-cart table.cart .cart_item a:hover {
	color: ${fonts_text_medium};
	}
	.woocommerce-cart table.cart .cart_item .product-remove a {
	color: ${fonts_text_light} !important;
	}
	.woocommerce-cart table.cart .cart_item .product-remove a:hover {
	color: ${fonts_text_medium} !important;
	}
	.woocommerce-cart table.cart .cart_item .quantity.button-controls .qty {
	border-color: ${fonts_text_light};
	color: ${fonts_text_medium};
	.font( ${fonts_details} );
	}
	.woocommerce-cart table.cart .cart_item .quantity.button-controls .add,.woocommerce-cart table.cart .cart_item .quantity.button-controls .subtract {
	border-color: ${fonts_text_light};
	}
	.woocommerce-cart table.cart .cart_item .quantity.button-controls .add:focus,.woocommerce-cart table.cart .cart_item .quantity.button-controls .subtract:focus {
	color: ${fonts_text_dark};
	}
	.woocommerce-cart table.cart .cart_item .quantity.button-controls .add:hover,.woocommerce-cart table.cart .cart_item .quantity.button-controls .subtract:hover {
	background: ${fonts_text_medium};
	}
	.woocommerce-cart table.cart td.actions .button:disabled:hover {
	background: ${branding_accent};
	border-color: ${branding_accent};
	}
	.woocommerce-cart .cart-collaterals .cart_totals table {
	.font( ${fonts_headings} );
	}
	.woocommerce-cart .cart-collaterals .cart_totals table th,.woocommerce-cart .cart-collaterals .cart_totals table td {
	color: ${fonts_text_dark};
	}
	.main-navigation .shopping-cart .shopping-cart-link .shopping-cart-count {
	background: ${branding_accent};
	}
	.main-navigation .shopping-cart .shopping-cart-link .svg-icon-cart path {
	fill: ${fonts_text_medium};
	}
	#mobile-navigation .shopping-cart-link {
	color: ${fonts_text_medium};
	.font( ${fonts_details} );
	}
	#mobile-navigation .shopping-cart-link .shopping-cart-count {
	background: ${branding_accent};
	}
	.woocommerce .widget_shopping_cart_content .cart_list .mini_cart_item a.remove {
	color: ${fonts_text_medium} !important;
	}
	.woocommerce .widget_shopping_cart_content .cart_list .mini_cart_item a.remove:hover {
	color: ${branding_accent} !important;
	}
	.woocommerce .widget_shopping_cart_content .cart_list .mini_cart_item a:not(.remove) {
	color: ${fonts_text_medium};
	}
	.woocommerce .widget_shopping_cart_content .cart_list .mini_cart_item a:hover {
	color: ${branding_accent};
	}
	.woocommerce .widget_shopping_cart_content .cart_list .mini_cart_item .quantity .amount {
	color: ${branding_accent};
	}
	.woocommerce .widget_shopping_cart_content .total {
	color: ${fonts_text_medium};
	}
	.woocommerce .widget_shopping_cart_content .total span {
	color: ${fonts_text_dark};
	}
	.woocommerce .widget_shopping_cart_content .buttons a.wc-forward:first-of-type {
	color: ${fonts_text_medium};
	}
	.woocommerce .widget_shopping_cart_content .buttons a.wc-forward:first-of-type:hover {
	background: ${branding_accent_dark};
	border-color: ${branding_accent_dark};
	}
	.woocommerce .widget_price_filter .ui-slider .ui-slider-range,.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
	background-color: ${branding_accent};
	}
	.woocommerce .widget_price_filter .price_slider_amount .button {
	color: ${fonts_text_medium};
	}
	.woocommerce .widget_price_filter .price_slider_amount .button:hover {
	border-color: ${branding_accent_dark};
	color: ${branding_accent_dark};
	}
	.woocommerce .widget_layered_nav .woocommerce-widget-layered-nav-list__item a:before {
	color: ${fonts_text_light} !important;
	}
	.woocommerce .widget_layered_nav .woocommerce-widget-layered-nav-list__item a:hover:before {
	color: ${fonts_text_dark} !important;
	}
	.woocommerce .widget_layered_nav .woocommerce-widget-layered-nav-list__item .count {
	color: ${fonts_text_light};
	}
	.woocommerce .widget_layered_nav_filters li a:before {
	color: ${fonts_text_light} !important;
	}
	.woocommerce .widget_layered_nav_filters li a:hover:before {
	color: ${fonts_text_dark} !important;
	}
	.widget_product_tag_cloud a {
	color: ${fonts_text_medium};
	}
	.widget_product_tag_cloud a:hover {
	background: ${branding_accent};
	border-color: ${branding_accent};
	}
	.site-content .widget_products .product_list_widget li a,.site-content .widget_recent_reviews .product_list_widget li a,.site-content .widget_top_rated_products .product_list_widget li a,.site-content .widget_recently_viewed_products .product_list_widget li a {
	color: ${fonts_text_medium};
	}
	.site-content .widget_products .product_list_widget li a:hover,.site-content .widget_recent_reviews .product_list_widget li a:hover,.site-content .widget_top_rated_products .product_list_widget li a:hover,.site-content .widget_recently_viewed_products .product_list_widget li a:hover {
	color: ${branding_accent};
	}
	.site-content .widget_products .product_list_widget li .amount,.site-content .widget_recent_reviews .product_list_widget li .amount,.site-content .widget_top_rated_products .product_list_widget li .amount,.site-content .widget_recently_viewed_products .product_list_widget li .amount {
	color: ${branding_accent};
	}
	.site-content .widget_products .product_list_widget li del,.site-content .widget_recent_reviews .product_list_widget li del,.site-content .widget_top_rated_products .product_list_widget li del,.site-content .widget_recently_viewed_products .product_list_widget li del {
	color: ${fonts_text_light};
	}
	.site-content .widget_products .product_list_widget li del .amount,.site-content .widget_recent_reviews .product_list_widget li del .amount,.site-content .widget_top_rated_products .product_list_widget li del .amount,.site-content .widget_recently_viewed_products .product_list_widget li del .amount {
	color: ${fonts_text_light};
	}
	.widget_product_search .search-form button[type=submit] svg {
	fill: ${fonts_text_medium};
	}
	.widget_shopping_cart li .quantity .amount {
	color: ${branding_accent};
	}
	.widget_shopping_cart li .remove {
	color: ${fonts_text_light} !important;
	}
	.widget_shopping_cart li .remove:hover {
	color: ${fonts_text_dark} !important;
	}
	.widget_shopping_cart .buttons .button.checkout {
	background: ${branding_accent};
	border-color: ${branding_accent};
	}
	.widget_shopping_cart .buttons .button.checkout:hover {
	background: ${branding_accent_dark};
	border-color: ${branding_accent_dark};
	}
	.widget_product_categories li a {
	color: ${fonts_text_medium};
	}
	.widget_product_categories li a:hover {
	color: ${branding_accent};
	}
	.widget_product_categories li .count {
	color: ${fonts_text_light};
	}
	#quick-view-container .product-content-wrapper .product-info-wrapper .price {
	color: ${branding_accent};
	.font( ${fonts_details} );
	}
	#quick-view-container .product-content-wrapper .product-info-wrapper .price del,#quick-view-container .product-content-wrapper .product-info-wrapper .price del .amount {
	color: ${fonts_text_light};
	}
	#quick-view-container .product-content-wrapper .product-info-wrapper .price .amount,#quick-view-container .product-content-wrapper .product-info-wrapper .price ins {
	color: ${branding_accent};
	}
	#quick-view-container .product-content-wrapper .product-info-wrapper .woocommerce-product-rating .woocommerce-review-link {
	color: ${fonts_text_light};
	}
	#quick-view-container .product-content-wrapper .product-info-wrapper .woocommerce-product-rating .woocommerce-review-link:hover {
	color: ${branding_accent};
	}
	#quick-view-container .product-content-wrapper .product-info-wrapper .out-of-stock {
	color: ${branding_accent};
	}
	#quick-view-container .product-content-wrapper .product-info-wrapper .quantity.button-controls .qty {
	border-color: ${fonts_text_light};
	color: ${fonts_text_medium};
	}
	#quick-view-container .product-content-wrapper .product-info-wrapper .quantity.button-controls .add,#quick-view-container .product-content-wrapper .product-info-wrapper .quantity.button-controls .subtract {
	border-color: ${fonts_text_light};
	}
	#quick-view-container .product-content-wrapper .product-info-wrapper .quantity.button-controls .add:hover,#quick-view-container .product-content-wrapper .product-info-wrapper .quantity.button-controls .subtract:hover {
	color: ${fonts_text_medium};
	}
	#quick-view-container .product-content-wrapper .product-info-wrapper button {
	background-color: ${branding_accent};
	}
	#quick-view-container .product-content-wrapper .product-info-wrapper button:hover {
	background-color: ${branding_accent_dark};
	}
	#quick-view-container .product-content-wrapper .variations td.label {
	.font( ${fonts_main} );
	}';

		return $css;
	}
}
add_filter( 'siteorigin_settings_custom_css', 'siteorigin_unwind_wc_settings_custom_css' );

if ( ! function_exists( 'siteorigin_unwind_menu_breakpoint_css' ) ) {
	/**
	 * Add CSS for mobile menu breakpoint.
	 */
	function siteorigin_unwind_menu_breakpoint_css( $css, $settings ) {
		$css .= '@media screen and (max-width: ' . intval( siteorigin_setting( 'navigation_mobile_menu_collapse' ) ) . 'px) {
		.main-navigation .menu-toggle {
			display: block;
		}
		.main-navigation > div,
		.main-navigation > div ul,
		.main-navigation .shopping-cart {
			display: none;
		}
	}
	@media screen and (min-width: ' . ( 1 + intval( siteorigin_setting( 'navigation_mobile_menu_collapse' ) ) ) . 'px) {
		#mobile-navigation {
			display: none !important;
		}
		.main-navigation > div ul {
			display: block;
		}
		.main-navigation .shopping-cart {
			display: inline-block;
		}
		.main-navigation .menu-toggle {
			display: none;
		}
	}';

		return $css;
	}
}
add_filter( 'siteorigin_settings_custom_css', 'siteorigin_unwind_menu_breakpoint_css', 10, 2 );

/**
 * Add default settings.
 *
 * @return mixed
 */
function siteorigin_unwind_settings_defaults( $defaults ) {
	// Branding defaults.
	$defaults['branding_logo']                   = false;
	$defaults['branding_site_description']       = false;
	$defaults['branding_attribution']            = true;
	$defaults['branding_accent']                 = '#24c48a';
	$defaults['branding_accent_dark']            = '#00a76a';

	// Font defaults.
	$defaults['fonts_text_light']                = '#adadad';
	$defaults['fonts_text_medium']               = '#626262';
	$defaults['fonts_text_dark']                 = '#2d2d2d';

	// The masthead defaults.
	$defaults['masthead_design']                 = '1';
	$defaults['masthead_social_widget']          = '';
	$defaults['masthead_padding']                = '60px';
	$defaults['masthead_bottom_margin']          = '80px';

	// Navigation defaults.
	$defaults['navigation_search']               = true;
	$defaults['navigation_sticky']               = true;
	$defaults['navigation_mobile_menu_collapse'] = 768;
	$defaults['navigation_post']                 = true;
	$defaults['navigation_scroll_to_top']        = false;

	// Icons.
	$defaults['icons_menu']                      = false;
	$defaults['icons_fullscreen_search']         = false;
	$defaults['icons_search']                    = false;
	$defaults['icons_close_search']              = false;

	// Layout
	$defaults['layout_main_sidebar']             = 'right';

	// Blog settings.
	$defaults['blog_featured_slider']            = false;
	$defaults['blog_featured_slider_overlay']    = false;
	$defaults['blog_featured_archive']           = true;
	$defaults['blog_featured_single']            = true;
	$defaults['blog_archive_layout']             = 'default';
	$defaults['blog_archive_content']            = 'full';
	$defaults['blog_excerpt_length']             = 55;
	$defaults['blog_excerpt_more']               = true;
	$defaults['blog_display_related_posts']      = true;
	$defaults['blog_display_author_box']         = true;
	$defaults['blog_display_date']               = true;
	$defaults['blog_display_category']           = true;
	$defaults['blog_display_comments']           = true;
	$defaults['blog_display_tags']               = true;
	$defaults['blog_search_fallback']            = false;

	// Footer settings.
	$defaults['footer_text']                     = esc_html__( '{year} &copy; {sitename}', 'siteorigin-unwind' );
	$defaults['footer_privacy_policy_link']      = true;
	$defaults['footer_constrained']              = true;
	$defaults['footer_top_padding']              = '80px';
	$defaults['footer_side_padding']             = '40px';
	$defaults['footer_top_margin']               = '80px';

	// WooCommerce
	$defaults['woocommerce_product_gallery']     = 'slider-lightbox';
	$defaults['woocommerce_archive_columns']     = 3;
	$defaults['woocommerce_display_quick_view']  = true;
	$defaults['woocommerce_add_to_cart']         = true;
	$defaults['woocommerce_display_mini_cart']   = true;
	$defaults['woocommerce_shop_sidebar']        = 'left';

	return $defaults;
}
add_filter( 'siteorigin_settings_defaults', 'siteorigin_unwind_settings_defaults' );

/**
 * Setup Page Settings.
 */
function siteorigin_unwind_page_settings( $settings, $type, $id ) {
	$settings['layout'] = array(
		'type'    => 'select',
		'label'   => esc_html__( 'Page Layout', 'siteorigin-unwind' ),
		'options' => array(
			'default'            => esc_html__( 'Default', 'siteorigin-unwind' ),
			'no-sidebar'         => esc_html__( 'No Sidebar', 'siteorigin-unwind' ),
			'full-width'         => esc_html__( 'Full Width', 'siteorigin-unwind' ),
			'full-width-sidebar' => esc_html__( 'Full Width, With Sidebar', 'siteorigin-unwind' ),
		),
	);

	$settings['page_title'] = array(
		'type'           => 'checkbox',
		'label'          => esc_html__( 'Page Title', 'siteorigin-unwind' ),
		'checkbox_label' => esc_html__( 'Enable', 'siteorigin-unwind' ),
		'description'    => esc_html__( 'Display the page title.', 'siteorigin-unwind' ),
	);

	$settings['masthead_margin'] = array(
		'type'           => 'checkbox',
		'label'          => esc_html__( 'Header Bottom Margin', 'siteorigin-unwind' ),
		'checkbox_label' => esc_html__( 'Enable', 'siteorigin-unwind' ),
		'description'    => esc_html__( 'Display the margin below the header.', 'siteorigin-unwind' ),
	);

	$settings['footer_margin'] = array(
		'type'           => 'checkbox',
		'label'          => esc_html__( 'Footer Top Margin', 'siteorigin-unwind' ),
		'checkbox_label' => esc_html__( 'Enable', 'siteorigin-unwind' ),
		'description'    => esc_html__( 'Display the margin above the footer.', 'siteorigin-unwind' ),
	);

	$settings['display_masthead'] = array(
		'type'           => 'checkbox',
		'label'          => esc_html__( 'Header', 'siteorigin-unwind' ),
		'checkbox_label' => esc_html__( 'Enable', 'siteorigin-unwind' ),
		'description'    => esc_html__( 'Display the header and top bar.', 'siteorigin-unwind' ),
	);

	$settings['display_footer_widgets'] = array(
		'type'           => 'checkbox',
		'label'          => esc_html__( 'Footer Widgets', 'siteorigin-unwind' ),
		'checkbox_label' => esc_html__( 'Enable', 'siteorigin-unwind' ),
		'description'    => esc_html__( 'Display the footer widgets.', 'siteorigin-unwind' ),
	);

	return $settings;
}
add_action( 'siteorigin_page_settings', 'siteorigin_unwind_page_settings', 10, 3 );

/**
 * Add the default Page Settings.
 */
function siteorigin_unwind_setup_page_setting_defaults( $defaults, $type, $id ) {
	// All the basic default settings.
	$defaults['layout']                 = 'default';
	$defaults['page_title']             = true;
	$defaults['masthead_margin']        = true;
	$defaults['footer_margin']          = true;
	$defaults['display_masthead']       = true;
	$defaults['display_footer_widgets'] = true;

	// Specific default settings for different types.
	if ( $type == 'template' && $id == 'home' ) {
		$defaults['page_title'] = false;
	}

	if ( function_exists( 'is_woocommerce' ) && ( is_cart() || is_checkout() || is_checkout_pay_page() ) ) {
		// Default layouts for WooCommerce pages
		$settings['layout'] = 'no-sidebar';
	}

	return $defaults;
}
add_filter( 'siteorigin_page_settings_defaults', 'siteorigin_unwind_setup_page_setting_defaults', 10, 3 );

/**
 * Change the default page settings for the home page.
 *
 * @return mixed
 */
function siteorigin_unwind_page_settings_panels_defaults( $settings ) {
	$settings['layout']     = 'no-sidebar';
	$settings['page_title'] = false;

	return $settings;
}
add_filter( 'siteorigin_page_settings_panels_home_defaults', 'siteorigin_unwind_page_settings_panels_defaults' );

function siteorigin_unwind_about_page_sections( $about ) {
	$about['documentation_url'] = 'https://siteorigin.com/unwind-documentation/';

	$about[ 'video_thumbnail' ] = array(
		get_template_directory_uri() . '/admin/about/stills/still-1.jpg',
	);

	$about['description'] = __( "Unwind changes the rules when it comes to WooCommerce. We're giving you loads of features that are typically only found premium WooCommerce themes.", 'siteorigin-unwind' );

	$about[ 'review' ] = true;

	$about[ 'sections' ] = array(
		'free',
		'woocommerce',
		'support',
		'page-builder',
		'github',
	);

	return $about;
}
add_filter( 'siteorigin_about_page', 'siteorigin_unwind_about_page_sections' );

// Exclude theme logo from Lazy Loading.
add_filter( 'siteorigin_settings_lazy_load_exclude_logo', '__return_true' );

Youez - 2016 - github.com/yon3zu
LinuXploit