<?php
/**
 * Theme Ostrich 
 *
 * @package Return Blog
 * active callbacks.
 * 
 */


/**
 * Check if the hero_slider is enabled
 */
function return_blog_if_hero_slider_enabled( $control ) {
	return 'disable' != $control->manager->get_setting( 'return_blog_hero_slider' )->value();
}

/**
 * Check if the hero_slider is custom
 */
function return_blog_if_hero_slider_cat( $control ) {
	return 'cat' === $control->manager->get_setting( 'return_blog_hero_slider' )->value();
}

/**
 * Check if the hero_slider is page
 */
function return_blog_if_hero_slider_page( $control ) {
	return 'page' === $control->manager->get_setting( 'return_blog_hero_slider' )->value();
}

/**
 * Check if the hero_slider is post
 */
function return_blog_if_hero_slider_post( $control ) {
	return 'post' === $control->manager->get_setting( 'return_blog_hero_slider' )->value();
}



/**
 * Check if the featured is enabled
 */
function return_blog_if_featured_enabled( $control ) {
	return 'disable' != $control->manager->get_setting( 'return_blog_featured' )->value();
}

/**
 * Check if the featured is custom
 */
function return_blog_if_featured_cat( $control ) {
	return 'cat' === $control->manager->get_setting( 'return_blog_featured' )->value();
}

/**
 * Check if the featured is page
 */
function return_blog_if_featured_page( $control ) {
	return 'page' === $control->manager->get_setting( 'return_blog_featured' )->value();
}

/**
 * Check if the featured is post
 */
function return_blog_if_featured_post( $control ) {
	return 'post' === $control->manager->get_setting( 'return_blog_featured' )->value();
}



/**
 * Check if the cta is enabled
 */
function return_blog_if_cta_enabled( $control ) {
	return 'disable' != $control->manager->get_setting( 'return_blog_cta' )->value();
}

/**
 * Check if the cta is page
 */
function return_blog_if_cta_page( $control ) {
	return 'page' === $control->manager->get_setting( 'return_blog_cta' )->value();
}

/**
 * Check if the cta is post
 */
function return_blog_if_cta_post( $control ) {
	return 'post' === $control->manager->get_setting( 'return_blog_cta' )->value();
}

/**
 * Check if the blog is enabled
 */
function return_blog_if_blog_enabled( $control ) {
	return 'disable' != $control->manager->get_setting( 'return_blog_blog' )->value();
}

/**
 * Check if the blog is custom
 */
function return_blog_if_blog_cat( $control ) {
	return 'cat' === $control->manager->get_setting( 'return_blog_blog' )->value();
}

/**
 * Check if the blog is page
 */
function return_blog_if_blog_page( $control ) {
	return 'page' === $control->manager->get_setting( 'return_blog_blog' )->value();
}

/**
 * Check if the blog is post
 */
function return_blog_if_blog_post( $control ) {
	return 'post' === $control->manager->get_setting( 'return_blog_blog' )->value();
}


/**
 * Check if the footer text is enabled
 */
function return_blog_if_footer_text_enable( $control ) {
	return $control->manager->get_setting( 'return_blog_enable_footer_text' )->value();
}

/**
 * Check if custom color scheme is enabled
 */
function return_blog_if_custom_color_scheme( $control ) {
	return 'custom' === $control->manager->get_setting( 'return_blog_color_scheme' )->value();
}
