Adding breadcrumbs, removing the woocommerce breadrumb removal.
authorLaury GvR <laury@gaslightmedia.com>
Fri, 26 Jun 2015 15:40:24 +0000 (11:40 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Fri, 26 Jun 2015 15:40:24 +0000 (11:40 -0400)
functions.php
home.php
index.php
search.php
single.php
style.css

index edb9da1..9c202ff 100644 (file)
@@ -295,8 +295,7 @@ add_action('wp_enqueue_scripts', 'glm_site_scripts');
 add_action( 'after_setup_theme', 'woocommerce_support' );
     function woocommerce_support() {
     add_theme_support( 'woocommerce' );
-} 
-remove_action( 'woocommerce_before_main_content','woocommerce_breadcrumb', 20, 0);
+}
 
 /* Header for posts*/
 function glm_get_header() {
index 8b55ba6..96a2464 100644 (file)
--- a/home.php
+++ b/home.php
@@ -1,5 +1,9 @@
 <?php get_header(); ?>
     <div class="main">
+        
+         <div class="row">
+             <?php get_template_part('parts/bread-crumbs');?>
+         </div>
         <div id="content-wrapper">
             <div class="row">
                 <div id="searchform_container" class="small-12 medium-3 columns alignright">
index 1e5281a..bbbb034 100644 (file)
--- a/index.php
+++ b/index.php
@@ -1,6 +1,10 @@
 <?php get_header(); ?>
 <div class="main">
     <div id="content-wrapper">
+        
+         <div class="row">
+             <?php get_template_part('parts/bread-crumbs');?>
+         </div>
         <div class="row">
             <div class="small-12 columns">
                 <?php if(have_posts()) : while(have_posts()): the_post();?>
index 1a8015c..732fe2c 100644 (file)
@@ -2,6 +2,10 @@
 <div class="main">
     <div id="content-wrapper">
          <div class="row">
+         <div class="row">
+             <?php get_template_part('parts/bread-crumbs');?>
+         </div>
+             
             <div id="main-content" class="small-12 columns">
                 <h2 class="search-result-header">Search Results for "<?php echo get_search_query(); ?>"</h2>
                 <div id="blog-posts-over" class="small-12 columns">
index 2364fc5..7021894 100644 (file)
@@ -1,9 +1,12 @@
 <?php get_header(); ?>
 <article <?php post_class() ?> id="interior">
-    <?php GLM_get_header(); ?>
+    <?php glm_get_header(); ?>
 </article>
 
 <div>
+    <div class="row">
+        <?php get_template_part('parts/bread-crumbs');?>
+    </div>
     <div id="searchform_container" class="small-12 medium-3 columns alignright">
         <form id="searchform" action="<?php bloginfo('url'); ?>" method="get">
             <div><input id="s" class="text" type="text" name="s" value="" />
index 02c09a9..4f432a0 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: SaultHistoricSites
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for SaultHistoricSites
-Version: 1.0.3
+Version: 1.0.9
 */