sliderLoop = get_theme_mod( 'main_banner_slider_loop', true ); $args->sliderControls = get_theme_mod( 'main_banner_slider_arrows', true ); $args->sliderDots = get_theme_mod( 'main_banner_slider_dots', false ); $args->sliderAuto = false; $args->sliderFade = false; $args->sliderSpeed = get_theme_mod( 'main_banner_slider_speed', '300' ); ?>
category = get_theme_mod( 'main_banner_slider_categories', '[]' ); $args->order = get_theme_mod( 'main_banner_slider_order_by', 'date-desc' ); $args->count = get_theme_mod( 'main_banner_slider_numbers', 4 ); $args->categoryOption = get_theme_mod( 'main_banner_slider_categories_option', false ); $args->titleOption = get_theme_mod( 'main_banner_slider_post_title_option', true ); $args->dateOption = get_theme_mod( 'main_banner_slider_date_option', true ); $args->commentOption = get_theme_mod( 'main_banner_slider_comments_option', true ); $args->no_thumb = true; // get template parts get_template_part( 'template-parts/main-banner/layout', esc_html( $layout ), $args ); else : $args->items = get_theme_mod( 'main_banner_slider_custom', json_encode( array( array( 'banner_image' => '', 'banner_title' => '', 'banner_url' => '', 'item_option' => 'show' ) )) ); $args->titleOption = get_theme_mod( 'main_banner_slider_custom_title_option', true ); // get template parts get_template_part( 'template-parts/main-banner/layout-custom', esc_html( $layout ), $args ); endif; ?>
type = get_theme_mod( 'featured_links_content_type', 'categories' ); $args->blockTitle = get_theme_mod( 'featured_links_title' ); $args->categories = get_theme_mod( 'featured_links_categories', '[]' ); $args->titleOption = get_theme_mod( 'featured_links_title_option', true ); $args->countOption = get_theme_mod( 'featured_links_categories_count_option', false ); $featured_links_carousel_column = get_theme_mod( 'featured_links_carousel_column', 'three' ); $featured_links_carousel_controls = true; $featured_links_carousel_auto = false; ?> blockTitle = get_theme_mod( 'products_section_title' ); $args->productType = get_theme_mod( 'products_content_type', 'latest' ); $args->categories = get_theme_mod( 'products_categories', '[]' ); $args->count = get_theme_mod( 'products_count', 3 ); $args->ratingOption = get_theme_mod( 'products_rating_option', true ); $args->priceOption = get_theme_mod( 'products_price_option', true ); $args->cartOption = get_theme_mod( 'products_cart_option', true ); ?>
( !empty( get_theme_mod( 'footer_column_one_category', '' ) ) ) ? get_theme_mod( 'footer_column_one_category', '' ) : '', 'category' => get_theme_mod( 'footer_column_one_category', '' ), 'count' => get_theme_mod( 'footer_column_one_count', 3 ), 'layout' => 'one' ), array( 'columnTitle' => ( !empty( get_theme_mod( 'footer_column_two_category', '' ) ) ) ? get_theme_mod( 'footer_column_two_category', '' ) : '', 'category' => get_theme_mod( 'footer_column_two_category', '' ), 'count' => get_theme_mod( 'footer_column_two_count', 3 ), 'layout' => 'two' ), array( 'columnTitle' => ( !empty( get_theme_mod( 'footer_column_three_category', '' ) ) ) ? get_theme_mod( 'footer_column_three_category', '' ) : '', 'category' => get_theme_mod( 'footer_column_three_category', '' ), 'count' => get_theme_mod( 'footer_column_three_count', 3 ), 'layout' => 'three' ) ); if( ! $footer_three_column_blocks ) { return; } $footer_three_column_width = get_theme_mod( 'footer_three_column_width', 'boxed-width' ); $container_class = ( $footer_three_column_width === 'boxed-width' ) ? 'container' : 'container-fluid'; echo ''; } endif; add_action( 'bloginwp_before_footer_hook', 'bloginwp_latest_products_sec', 30 ); add_action( 'bloginwp_before_footer_hook', 'bloginwp_footer_three_column_sec', 40 );