Skip to content

Commit fe11a69

Browse files
committed
Revert "Basic WooCommere support"
This reverts commit 150eb2c. # Conflicts: # sass/maps/style.css.map # sass/maps/woocommerce.css.map # scss/woocommerce.scss # woocommerce.css
1 parent 522bd63 commit fe11a69

File tree

2 files changed

+0
-31
lines changed

2 files changed

+0
-31
lines changed

functions.php

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -487,32 +487,3 @@ function origami_wp_header(){
487487

488488
}
489489
add_action('wp_head', 'origami_wp_header');
490-
491-
function origami_woocommerce_setup() {
492-
493-
/**
494-
* Add support for WooCommerce.
495-
* @link https://docs.woocommerce.com/document/declare-woocommerce-support-in-third-party-theme/
496-
*/
497-
add_theme_support( 'woocommerce' );
498-
499-
/**
500-
* Add support for WooCommerce galleries.
501-
* @link https://woocommerce.wordpress.com/2017/02/28/adding-support-for-woocommerce-2-7s-new-gallery-feature-to-your-theme/
502-
*/
503-
add_theme_support( 'wc-product-gallery-slider' );
504-
add_theme_support( 'wc-product-gallery-lightbox' );
505-
add_theme_support( 'wc-product-gallery-zoom' );
506-
507-
}
508-
add_action( 'after_setup_theme', 'origami_woocommerce_setup' );
509-
510-
/**
511-
* Enqueue WooCommerce scripts and styles.
512-
*/
513-
function origami_woocommerce_scripts() {
514-
515-
wp_enqueue_style( 'origami-woocommerce-style', get_template_directory_uri() . '/woocommerce.css', array(), SITEORIGIN_THEME_VERSION );
516-
517-
}
518-
add_action( 'wp_enqueue_scripts', 'origami_woocommerce_scripts' );

style.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,5 +1008,3 @@ h1.archive-title {
10081008

10091009
.infinite-loader .spinner {
10101010
left: 50% !important; }
1011-
1012-
/*# sourceMappingURL=sass/maps/style.css.map */

0 commit comments

Comments
 (0)