diff --git a/wp-content/plugins/woocommerce/includes/wc-template-functions.php b/wp-content/plugins/woocommerce/includes/wc-template-functions.php index 41b00acc..82576d93 100644 --- a/wp-content/plugins/woocommerce/includes/wc-template-functions.php +++ b/wp-content/plugins/woocommerce/includes/wc-template-functions.php @@ -1176,7 +1176,12 @@ if ( ! function_exists( 'woocommerce_template_loop_product_title' ) ) { * Show the product title in the product loop. By default this is an H2. */ function woocommerce_template_loop_product_title() { - echo '

' . get_the_title() . '

'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped + $product_id = get_the_ID(); + if ( $product_id == 787 ) + $img = 'English'; + else + $img = ''; + echo '

' . $img . get_the_title() . '

'; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } } if ( ! function_exists( 'woocommerce_template_loop_category_title' ) ) {