manager->get_setting( 'theme_options[breadcrumb_type]' )->value() ) { return true; } else { return false; } } endif; if ( ! function_exists( 'classifyed_is_logo_active' ) ) : /** * Check if logo is active. * * @since 1.0.0 * * @param WP_Customize_Control $control WP_Customize_Control instance. * * @return bool Whether the control is active to the current preview. */ function classifyed_is_logo_active( $control ) { if ( $control->manager->get_setting( 'theme_options[site_logo]' )->value() ) { return true; } else { return false; } } endif; if ( ! function_exists( 'classifyed_is_featured_slider_active' ) ) : /** * Check if featured slider is active. * * @since 1.0.0 * * @param WP_Customize_Control $control WP_Customize_Control instance. * * @return bool Whether the control is active to the current preview. */ function classifyed_is_featured_slider_active( $control ) { if ( 'disabled' !== $control->manager->get_setting( 'theme_options[featured_slider_status]' )->value() ) { return true; } else { return false; } } endif; if ( ! function_exists( 'classifyed_is_featured_page_slider_active' ) ) : /** * Check if featured page slider is active. * * @since 1.0.0 * * @param WP_Customize_Control $control WP_Customize_Control instance. * * @return bool Whether the control is active to the current preview. */ function classifyed_is_featured_page_slider_active( $control ) { if ( 'featured-page' === $control->manager->get_setting( 'theme_options[featured_slider_type]' )->value() && 'disabled' !== $control->manager->get_setting( 'theme_options[featured_slider_status]' )->value() ) { return true; } else { return false; } } endif; if ( ! function_exists( 'classifyed_is_featured_content_active' ) ) : /** * Check if featured content is active. * * @since 1.0.0 * * @param WP_Customize_Control $control WP_Customize_Control instance. * * @return bool Whether the control is active to the current preview. */ function classifyed_is_featured_content_active( $control ) { if ( 'disabled' !== $control->manager->get_setting( 'theme_options[featured_content_status]' )->value() ) { return true; } else { return false; } } endif; if ( ! function_exists( 'classifyed_is_featured_page_content_active' ) ) : /** * Check if featured page content is active. * * @since 1.0.0 * * @param WP_Customize_Control $control WP_Customize_Control instance. * * @return bool Whether the control is active to the current preview. */ function classifyed_is_featured_page_content_active( $control ) { if ( 'featured-page' === $control->manager->get_setting( 'theme_options[featured_content_type]' )->value() && 'disabled' !== $control->manager->get_setting( 'theme_options[featured_content_status]' )->value() ) { return true; } else { return false; } } endif; if ( ! function_exists( 'classifyed_is_featured_content_nondemo_active' ) ) : /** * Check if featured content nondemo is active. * * @since 1.0.0 * * @param WP_Customize_Control $control WP_Customize_Control instance. * * @return bool Whether the control is active to the current preview. */ function classifyed_is_featured_content_nondemo_active( $control ) { if ( 'demo-content' !== $control->manager->get_setting( 'theme_options[featured_content_type]' )->value() && 'disabled' !== $control->manager->get_setting( 'theme_options[featured_content_status]' )->value() ) { return true; } else { return false; } } endif;