'; bcn_display(); echo ''; } elseif ( function_exists( 'breadcrumbs' ) ) { breadcrumbs(); } elseif ( function_exists( 'crumbs' ) ) { crumbs(); } elseif ( class_exists( 'WPSEO_Breadcrumbs' ) ) { yoast_breadcrumb( '' ); } elseif ( function_exists( 'yoast_breadcrumb' ) && ! class_exists( 'WPSEO_Breadcrumbs' ) ) { yoast_breadcrumb( '' ); } else { echo self::get_breadcrumb(); // WPCS: XSS ok. } } /** * [get_breadcrumb description] * * @param array $args [description] * @return [type] [description] */ public static function get_breadcrumb( $args = array() ) { $media = new Baltic_Breadcrumb; return $media->get_output( $args ); } public static function media( $args = array() ) { echo self::get_media( $args ); // WPCS: XSS ok. } /** * [get_media description] * * @param array $args [description] * @return [type] [description] */ public static function get_media( $args = array() ) { $media = new Baltic_Media( $args ); return $media->get_media( $args ); } /** * Loop index * * @return void */ public static function loop_index() { get_template_part( 'components/loop', 'index' ); } /** * [meta_categories description] * * @return [type] [description] */ public static function meta_categories() { get_template_part( 'components/entry/meta', 'categories' ); } /** * [meta_comments description] * * @return [type] [description] */ public static function meta_comments() { get_template_part( 'components/entry/meta', 'comments' ); } /** * [meta_edit_link description] * * @return [type] [description] */ public static function meta_edit_link() { get_template_part( 'components/entry/meta', 'edit_link' ); } /** * [meta_posted_by description] * * @return [type] [description] */ public static function meta_posted_by() { get_template_part( 'components/entry/meta', 'posted_by' ); } /** * [meta_posted_on description] * * @return [type] [description] */ public static function meta_posted_on() { get_template_part( 'components/entry/meta', 'posted_on' ); } /** * [meta_tags description] * * @return [type] [description] */ public static function meta_tags() { get_template_part( 'components/entry/meta', 'tags' ); } /** * [post_thumbnail description] * * @return [type] [description] */ public static function post_thumbnail() { get_template_part( 'components/entry/post', 'thumbnail' ); } /** * [post_content description] * * @return [type] [description] */ public static function post_content() { get_template_part( 'components/entry/post', 'content' ); } /** * [post_content description] * * @return [type] [description] */ public static function nav_image() { get_template_part( 'components/menus/nav', 'image' ); } /** * [post_content description] * * @return [type] [description] */ public static function nav_post() { get_template_part( 'components/menus/nav', 'post' ); } /** * [post_content description] * * @return [type] [description] */ public static function nav_products() { get_template_part( 'components/menus/nav', 'products' ); } /** * [post_content description] * * @return [type] [description] */ public static function nav_posts() { get_template_part( 'components/menus/nav', 'posts' ); } /** * [sidebar_footer description] * * @return [type] [description] */ public static function sidebar_footer() { get_sidebar( 'footer' ); } /** * [footer_copyright description] * * @return [type] [description] */ public static function footer_copyright() { get_template_part( 'components/footer/footer', 'copyright' ); } /** * Callback function for components/footer/payment-icons.php template part * * @return void */ public static function payment_icons() { get_template_part( 'components/footer/payment', 'icons' ); } /** * Preloader. * * @return string */ public static function preloader() { echo self::get_preloader(); // WPCS: XSS ok. } /** * [get_preloader description] * * @return [type] [description] */ public static function get_preloader() { $preloader = Baltic_Options::get_option( 'preloader_type' ); $markup = ''; switch( $preloader ){ case 'rotating-plane': $markup .= '
'; break; case 'double-bounce' : $markup .= '
'; break; case 'wave' : $markup .= '
'; break; case 'wandering-cubes' : $markup .= '
'; break; case 'pulse' : $markup .= '
'; break; case 'chasing-dots' : $markup .= '
'; break; case 'three-bounce' : $markup .= '
'; break; case 'circle' : $markup .= '
'; break; case 'cube-grid' : $markup .= '
'; break; case 'fading-circle' : $markup .= '
'; break; case 'folding-cube' : $markup .= '
'; break; } $markup = str_replace( array( "\n", "\t", "\r" ), '', $markup ); return sprintf( '
%s
', $markup ); } }