';
}
}
}
/**
* pc_default_template_loop_category_title
*
* Render product category title.
*
* @param array $category
* @since 1.0
*/
if ( ! function_exists( 'alpus_pc_default_template_loop_category_title' ) ) {
function alpus_pc_default_template_loop_category_title( $category ) {
// Title
echo '
';
// Count
if ( alpus_wc_get_loop_prop( 'show_count', true ) ) {
echo apply_filters( 'woocommerce_subcategory_count_html', '
' . esc_html( $category->count ) . ' ' . esc_html__( 'Products', 'alpus' ) . '', $category );
}
// Link
if ( alpus_wc_get_loop_prop( 'show_link', true ) ) {
$link_text = alpus_wc_get_loop_prop( 'link_text' );
$link_class = 'btn btn-underline btn-link';
echo '
' .
( $link_text ? esc_html( $link_text ) : esc_html__( 'Shop Now', 'alpus' ) ) .
'';
}
}
}
/**
* pc_default_after_subcategory_title
*
* Render html after subcategory title.
*
* @since 1.0
*/
if ( ! function_exists( 'alpus_pc_default_after_subcategory_title' ) ) {
function alpus_pc_default_after_subcategory_title() {
echo '