plugin updates

This commit is contained in:
Tony Volpe
2024-02-21 16:19:46 +00:00
parent c72f206574
commit 21d4c85c00
1214 changed files with 102269 additions and 179257 deletions

View File

@@ -26,6 +26,9 @@ class WC_Twenty_Twelve {
add_action( 'woocommerce_before_main_content', array( __CLASS__, 'output_content_wrapper' ) );
add_action( 'woocommerce_after_main_content', array( __CLASS__, 'output_content_wrapper_end' ) );
// Enqueue theme compatibility styles.
add_action( 'wp_head', array( __CLASS__, 'enqueue_styles' ) );
// Declare theme support for features.
add_theme_support( 'wc-product-gallery-zoom' );
add_theme_support( 'wc-product-gallery-lightbox' );
@@ -52,6 +55,21 @@ class WC_Twenty_Twelve {
public static function output_content_wrapper_end() {
echo '</div></div>';
}
/**
* Add theme compatibility styles.
*
* @return void
*/
public static function enqueue_styles() {
?>
<style type="text/css">
.wc-block-components-notice-banner.is-error li {
margin: 0;
}
</style>
<?php
}
}
WC_Twenty_Twelve::init();