',
$businessprofile_counter
);
$businessprofile_carousel_item_caption = '';
$businessprofile_carousel_item[] = sprintf(
'
%s %s
',
businessprofile_attachment_url_to_post_thumbnail($businessprofile_image1),
$businessprofile_carousel_item_caption
);
$businessprofile_counter++;
}
$businessprofile_image2 = get_theme_mod( 'businessprofile_home_carousel_image2' );
if( $businessprofile_image2 ) {
$businessprofile_carousel_indicators[] = sprintf(
'',
$businessprofile_counter
);
$businessprofile_carousel_item[] = sprintf(
'%s %s
',
businessprofile_attachment_url_to_post_thumbnail($businessprofile_image2),
''
);
$businessprofile_counter++;
}
$businessprofile_image3 = get_theme_mod( 'businessprofile_home_carousel_image3' );
if( $businessprofile_image3 ) {
$businessprofile_carousel_indicators[] = sprintf(
'',
$businessprofile_counter
);
$businessprofile_carousel_item[] = sprintf(
'%s %s
',
businessprofile_attachment_url_to_post_thumbnail($businessprofile_image3),
''
);
$businessprofile_counter++;
}
$businessprofile_carousel_control[] = 'Previous';
$businessprofile_carousel_control[] = 'Next';
}
if( is_page() && has_post_thumbnail() ) {
$businessprofile_carousel_item[] = sprintf(
'%s
',
get_the_post_thumbnail()
);
$businessprofile_counter++;
}
if( $businessprofile_counter > 0 ) {
?>