cart->get_cart_contents_count() ); ?>
cart->get_cart_subtotal() ); ?>
get_wishlist_url();
?>
$value ){
$page_id = absint( $value->ID );
$pages[ $page_id ] = $value->post_title;
}
return $pages;
}
if( !function_exists( 'bosa_get_intermediate_image_sizes' ) ){
/**
* Array of image sizes.
*
* @since Bosa Shop 1.0.4
* @return array
*/
function bosa_get_intermediate_image_sizes(){
$data = array(
'full' => esc_html__( 'Full Size', 'bosa-shop' ),
'large' => esc_html__( 'Large Size', 'bosa-shop' ),
'medium' => esc_html__( 'Medium Size', 'bosa-shop' ),
'medium_large' => esc_html__( 'Medium Large Size', 'bosa-shop' ),
'thumbnail' => esc_html__( 'Thumbnail Size', 'bosa-shop' ),
'1536x1536' => esc_html__( '1536x1536 Size', 'bosa-shop' ),
'2048x2048' => esc_html__( '2048x2048 Size', 'bosa-shop' ),
'bosa-1920-550' => esc_html__( '1920x550 Size', 'bosa-shop' ),
'bosa-1370-550' => esc_html__( '1370x550 Size', 'bosa-shop' ),
'bosa-590-310' => esc_html__( '590x310 Size', 'bosa-shop' ),
'bosa-420-380' => esc_html__( '420x380 Size', 'bosa-shop' ),
'bosa-420-300' => esc_html__( '420x300 Size', 'bosa-shop' ),
'bosa-420-200' => esc_html__( '420x200 Size', 'bosa-shop' ),
'bosa-290-150' => esc_html__( '290x150 Size', 'bosa-shop' ),
'bosa-80-60' => esc_html__( '80x60 Size', 'bosa-shop' ),
);
return $data;
}
}
if( !function_exists( 'bosa_shop_header_layout_filter' ) ){
/**
* Filter of header layout choices.
*
* @since Bosa Shop 1.0.4
* @return array
*/
add_filter( 'bosa_header_layout_filter', 'bosa_shop_header_layout_filter' );
function bosa_shop_header_layout_filter( $header_layout ){
$added_header = array(
'header_four' => get_stylesheet_directory_uri() . '/assets/images/header-layout-4.png',
);
return array_merge( $header_layout, $added_header );
}
}
if( !function_exists( 'bosa_shop_footer_layout_filter' ) ){
/**
* Filter of footer layout choices.
*
* @since Bosa Shop 1.0.4
* @return array
*/
add_filter( 'bosa_footer_layout_filter', 'bosa_shop_footer_layout_filter' );
function bosa_shop_footer_layout_filter( $footer_layout ){
$added_footer = array(
'footer_four' => get_stylesheet_directory_uri() . '/assets/images/footer-layout-4.png',
);
return array_merge( $footer_layout, $added_footer );
}
}
add_theme_support( "title-tag" );
add_theme_support( 'automatic-feed-links' );