<?php
	// Blog active callback.
function leatherhouse_theme_blog_category( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}
	// Blog BG Image callback.
function leatherhouse_blog_background( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}

	// Title.
function leatherhouse_blog_area_title( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}

	// Description.
function leatherhouse_blog_area_des( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}

function leatherhouse_blog_design( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}
function leatherhouse_blog_details_heading( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}
function leatherhouse_blog_autoplay_disable( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}
	// Blog Disable + Autoplay Disable.
function leatherhouse_blog_animation_speed( $control ) {
	return true === (
		$control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true &&
		$control->manager->get_setting( 'leatherhouse_blog_autoplay_disable' )->value() == true
	);
}

function leatherhouse_blog_loop( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}

// Read More.
function leatherhouse_blog_readmore_disabled( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}
function leatherhouse_blog_dots( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}
function leatherhouse_blog_nav( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}


	// Extra Settings.
function leatherhouse_blog_extra_heading( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}

	// Container.
function leatherhouse_blog_container_size( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}

	// Column.
function leatherhouse_blog_column_layout( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}

	// Blog Button Text.
function leatherhouse_blog_button_disabled( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}
function leatherhouse_blog_button_text( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_button_disabled' )->value() == true );
}
function leatherhouse_blog_button_link( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_button_disabled' )->value() == true );
}


/* Section Color Setting */

function leatherhouse_blog_section_color_heading( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}
function leatherhouse_blog_section_color_disable( $control ) {
	return true === ( $control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true );
}
function leatherhouse_blog_section_title_color( $control ) {
	return true === (
		$control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true &&
		$control->manager->get_setting( 'leatherhouse_blog_section_color_disable' )->value() == true
	);
}
function leatherhouse_blog_section_description_color( $control ) {
	return true === (
		$control->manager->get_setting( 'leatherhouse_blog_disabled' )->value() == true &&
		$control->manager->get_setting( 'leatherhouse_blog_section_color_disable' )->value() == true
	);
}
