From d9ad954cdf47f70f1629805ddf046c86589a95d0 Mon Sep 17 00:00:00 2001 From: Tiago Noronha Date: Mon, 7 Aug 2017 00:06:52 +0100 Subject: [PATCH] Move mini cart implementation example inside woocommerce.php --- inc/custom-header.php | 10 +--------- inc/woocommerce.php | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/inc/custom-header.php b/inc/custom-header.php index 91715e8..8e29a1c 100644 --- a/inc/custom-header.php +++ b/inc/custom-header.php @@ -8,14 +8,6 @@ * * @link https://developer.wordpress.org/themes/functionality/custom-headers/ * - * You can add the WooCommerce Mini Cart to header.php like so ... - * - - * * @package _s */ @@ -77,4 +69,4 @@ if ( ! function_exists( '_s_header_style' ) ) : + * + * @package _s + */ + if ( ! function_exists( '_s_woocommerce_cart_link_fragment' ) ) { /** * Cart Fragments