Created
February 1, 2020 13:49
-
-
Save gvgvgvijayan/6c85665649b59e0e29013f2eb6f8d5f8 to your computer and use it in GitHub Desktop.
The snippet to explain overriding WooCommerce template. Website: www.vijayan.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<header class="woocommerce-products-header"> | |
<?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?> | |
<h1 class="woocommerce-products-header__title page-title"><?php echo strtoupper(woocommerce_page_title(false)); ?></h1> | |
<?php endif; ?> | |
<?php | |
/** | |
* Hook: woocommerce_archive_description. | |
* | |
* @hooked woocommerce_taxonomy_archive_description - 10 | |
* @hooked woocommerce_product_archive_description - 10 | |
*/ | |
do_action( 'woocommerce_archive_description' ); | |
?> | |
</header> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment