cart->get_cart_contents_count() ); ?>
cart->get_cart_subtotal() ); ?>
get_wishlist_url();
?>
$value ){
$page_id = absint( $value->ID );
$pages_list[ $page_id ] = $value->post_title;
}
return $pages_list;
}
/**
* Add a blog advertisement banner
* @since Bosa Shopper 1.0.0
*/
if( !function_exists( 'bosa_shopper_blog_advertisement_banner' ) ){
function bosa_shopper_blog_advertisement_banner(){
$blogAdvertID = get_theme_mod( 'blog_advertisement_banner', '' );
$blog_advertisement_banner_obj = wp_get_attachment_image_src( $blogAdvertID, 'full' );
if ( is_array( $blog_advertisement_banner_obj ) ){
$blog_advertisement_banner = $blog_advertisement_banner_obj[0];
$advert_target = get_theme_mod( 'blog_advertisement_banner_target', true );
$alt = get_post_meta( $blogAdvertID, '_wp_attachment_image_alt', true); ?>
%2$s';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) ) {
$time_string = '';
}
$time_string = sprintf( $time_string,
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date( 'M j, Y' ) ),
esc_attr( get_the_modified_date( 'c' ) ),
esc_html( get_the_modified_date( 'M j, Y' ) )
);
$year = get_the_date( 'Y' );
$month = get_the_date( 'm' );
$link = ( is_single() ) ? get_month_link( $year, $month ) : get_permalink();
$posted_on = '' . $time_string . '';
if ( !is_single() && !get_theme_mod( 'hide_date', false ) ){
if ( !get_theme_mod( 'disable_date_thumbnail', false ) ){
echo '' . $posted_on . ''; // WPCS: XSS OK.
}
}
$byline = '' . esc_html( get_the_author() ) . '';
if ( !is_single() && !get_theme_mod( 'hide_author', false ) ){
if ( !get_theme_mod( 'disable_author_thumbnail', true ) ){
echo ' ' . $byline . '';
}
}
if ( ! post_password_required() && ( comments_open() || get_comments_number() ) ) {
if( !is_single() && !get_theme_mod( 'hide_comment', false ) ){
if ( !get_theme_mod( 'disable_comment_thumbnail', true ) ){
echo '';
}
}
}
}
endif;
add_theme_support( "title-tag" );
add_theme_support( 'automatic-feed-links' );