Changing WooC links to use get_link instead of page IDs
authorLaury GvR <laury@gaslightmedia.com>
Tue, 1 Nov 2016 17:15:34 +0000 (13:15 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 1 Nov 2016 17:15:34 +0000 (13:15 -0400)
lib/misc.php
lib/widgets.php
woocommerce.php

index 3fc9228..345cef0 100644 (file)
@@ -7,10 +7,6 @@
  *
  * @return string Option
  */
-function itGetsHere() {
-    echo "<h1>TEST IS TRUE</h1><br>";
-}
-
 if (!function_exists('glm_get_clientinfo_option')) {
     function glm_get_clientinfo_option($name)
     {
index 9e079e0..6f62ee8 100644 (file)
@@ -8,7 +8,7 @@ if (!function_exists('glm_quicksite_widget_init')) {
         register_sidebar(array(
             'name'        => __('Slideshow'),
             'id'          => 'slideshow',
-            'description' => __('Meta Slider/Slideshow Area')
+            'description' => __('Slideshow Area')
         ));
         register_sidebar(array(
             'name'        => __('Right Sidebar'),
index 8544c23..62f89e4 100644 (file)
                             <div id="woo-quick-display" class="small-12 medium-9 columns">
                                 <div id="woo-quick-cart-icon" class="small-3 columns left">
                                     <div class="woo-quick-cart-image">
-                                        <a href="<?php echo get_permalink(99);?>">
+                                        <a href="<?php echo $woocommerce->cart->get_cart();?>">
                                             <img src="<?php echo get_template_directory_uri(); ?>/assets/shopping-cart.png">
                                         </a>
-                                        <a href="<?php echo get_permalink(99);?>"><h3>view cart</h3></a>
+                                        <a href="<?php echo $woocommerce->cart->get_cart();?>">
                                     </div>
 
                                 </div>