';
echo bloginfo( 'name' );
echo '';
echo '';
echo esc_html(get_bloginfo( 'description', 'display' ));
echo '
';
} else if ( function_exists('is_shop') && is_shop() ){
if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
echo '';
echo esc_html( woocommerce_page_title() );
echo '
';
}
}else if( function_exists('is_product_category') && is_product_category() ){
echo '';
echo esc_html( woocommerce_page_title() );
echo '
';
echo '';
do_action( 'woocommerce_archive_description' );
echo '
';
}elseif ( is_singular() ) {
echo '';
echo single_post_title( '', false );
echo '
';
if( function_exists('is_product') && is_product() ){
add_action( 'bc_business_consulting_custom_static_header','woocommerce_template_single_price',22 );
add_action( 'bc_business_consulting_custom_static_header','woocommerce_template_single_rating',24 );
}
} elseif ( is_archive() ) {
the_archive_title( '', '
' );
} elseif ( is_search() ) {
echo '';
printf( /* translators:straing */ esc_html__( 'Search Results for: %s', 'bc-shop' ), get_search_query() );
echo '
';
} elseif ( is_404() ) {
echo '';
esc_html_e( '404 Error', 'bc-shop' );
echo '
';
}
}
endif;
if ( ! function_exists( 'bcshop_product_review_comment_form_args' ) ) :
add_filter( 'woocommerce_product_review_comment_form_args', 'bcshop_product_review_comment_form_args' );
/**
* Add title in custom header.
*
* @since 1.0.0
*/
function bcshop_product_review_comment_form_args( $comment_form ) {
$comment_form = array(
'title_reply' => have_comments() ? /* translators:straing */ __( 'Add a review', 'bc-shop' ) : sprintf( __( 'Be the first to review “%s”', 'bc-shop' ), get_the_title() ),
'title_reply_to' => /* translators:straing */ __( 'Leave a Reply to %s', 'bc-shop' ),
'title_reply_before' => '',
'comment_notes_after' => '',
'fields' => array(
'author' =>''
),
'label_submit' => __( 'Submit Review ', 'bc-shop' ),
'logged_in_as' => '',
'comment_field' => '',
'class_submit' => 'submit-review',
'submit_button' => ''
);
if ( $account_page_url = wc_get_page_permalink( 'myaccount' ) ) {
$comment_form['must_log_in'] = '' . sprintf( /* translators:straing */ __( 'You must be logged in to post a review.', 'bc-shop' ), esc_url( $account_page_url ) ) . '
';
}
if ( get_option( 'woocommerce_enable_review_rating' ) === 'yes' ) {
$comment_form['comment_field'] = '';
}
$comment_form['comment_field'] .='';
return $comment_form;
}
endif;
', 'title_reply_after' => '