Cookie link goes to shop now
authorLaury GvR <laury@gaslightmedia.com>
Fri, 20 Feb 2015 15:47:55 +0000 (10:47 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 20 Feb 2015 15:47:55 +0000 (10:47 -0500)
footer.php

index f5e7fbb..cd4f859 100755 (executable)
@@ -17,8 +17,7 @@
                             </div>
                         </div>
                         <div id="left_side" class="small-24 medium-8 large-6 columns"> 
-                            <a id="cookie" class="show-for-medium-up" href="<?php echo esc_url( get_permalink( get_page_by_title( 'Products' ) ) ); ?>">
-
+                            <a id="cookie" class="show-for-medium-up" href="<?php echo esc_url( get_permalink( woocommerce_get_page_id( 'shop' ) ) ); ?>">
                                 <img src="<?php echo get_template_directory_uri(); ?>/assets/cookie-bite.jpg">
                                 <span>Cookie Shop</span>
                             </a>