Change shop sidebar links
authorLaury GvR <laury@gaslightmedia.com>
Tue, 15 Mar 2016 15:34:08 +0000 (11:34 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 15 Mar 2016 15:34:08 +0000 (11:34 -0400)
parts/shop-sidebar.php
woocommerce.php

index 2d4af01..6c05640 100644 (file)
@@ -1,27 +1,27 @@
                 
                 <ul class="sidebar shop-sidebar">
-                    <a href="<?php echo esc_url( get_permalink(174) ); ?>">
+                    <a href="<?php echo esc_url( get_permalink(18) ); ?>">
                         <h1>Products</h1>
                     </a>
                     
                     <li class="page_item page_item_has_children">
-                        <a href="<?php echo esc_url(get_permalink(174)); ?>">
+                        <a href="<?php echo esc_url(get_permalink(18)); ?>">
                             Categories
                         </a>
                     </li>
                     <?php echo do_shortcode('[product_categories number="" orderby="name" order="asc" columns="2" hide_empty="0" parent="0" ids=""]'); ?>
                     <li class="page_item page_item_has_children">
-                        <a href="<?php echo esc_url(get_permalink(8)); ?>">
+                        <a href="<?php echo esc_url(get_permalink(19)); ?>">
                             Cart
                         </a>
                     </li>
                     <li class="page_item page_item_has_children">
-                        <a href="<?php echo esc_url(get_permalink(9)); ?>">
+                        <a href="<?php echo esc_url(get_permalink(20)); ?>">
                             Checkout
                         </a>
                     </li>
                     <li class="page_item page_item_has_children">
-                        <a href="<?php echo esc_url(get_permalink(10)); ?>">
+                        <a href="<?php echo esc_url(get_permalink(21)); ?>">
                             My Account
                         </a>
                     </li>
index 156a4c0..8dfc97a 100644 (file)
                 </div>
             <?php } ?>
         </div>
-        <div id="action-items" class="row show-for-medium-up">
-            <div class="small-3 columns">
-                <?php $donationsPage = get_page_by_title('Donations');?>
-                <?php if($donationsPage):?>
-                <a class="action-block" href="<?php echo get_page_link($donationsPage->ID);?>"><img src="<?php echo get_template_directory_uri(); ?>/assets/action-item-donate.jpg"></a>
-                <?php endif;?>
-            </div>
-            <div class="small-3 columns">
-                <?php $blog = get_page_by_title('Blog');?>
-                <?php if($blog):?>
-                <a class="action-block" href="<?php echo get_page_link($blog->ID);?>"><img src="<?php echo get_template_directory_uri(); ?>/assets/action-item-blog.jpg"></a>
-                <?php endif;?>
-            </div>
-            <div class="small-3 columns">
-                 <?php $memberPage = get_page_by_title('Membership');?>
-     <?php if($memberPage):?>
-       <a class="action-block" href="<?php echo get_page_link($memberPage->ID);?>"><img src="<?php echo get_template_directory_uri(); ?>/assets/action-item-memberships.jpg"></a>
-      <?php endif;?>
-
-            </div>
-            <div class="small-3 columns">
-                <?php $crewsPage = get_page_by_title('Crews Quarters Overnight Program');?>
-                <?php if($crewsPage):?>
-                <a class="action-block" href="<?php echo get_page_link($crewsPage->ID);?>"><img src="<?php echo get_template_directory_uri(); ?>/assets/action-item-crews-quarters.jpg"></a>
-                <?php endif;?>
-            </div>
-        </div>
     </div>
 <?php get_footer(); ?>