add title to pages
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 19 Nov 2014 14:26:26 +0000 (09:26 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 19 Nov 2014 14:26:26 +0000 (09:26 -0500)
index.php
page.php

index 529a8cb..5a685d0 100644 (file)
--- a/index.php
+++ b/index.php
     <div class=" row">
     <div class="small-12 columns">
         <?php if(have_posts()) : while(have_posts()): the_post();?>
-                <?php the_content();?>
-                <?php endwhile; else:?>
-                <p><?php _e('Sorry, no posts yet');?></p>
-                <?php endif;?>
+        <h1><?php the_title();?></h1>
+        <?php the_content();?>
+        <?php endwhile; else:?>
+        <p><?php _e('Sorry, no posts yet');?></p>
+        <?php endif;?>
     </div>
     </div>
 <?php get_footer(); ?>
\ No newline at end of file
index 529a8cb..8fc7afa 100644 (file)
--- a/page.php
+++ b/page.php
     <div class="small-11 small-centered columns">
     <div class="row">
     <div class="small-12 columns">
-        <ul class="breadcrumbs">
-
-        </ul>
+        <?php
+        if(function_exists('bcn_display') && !is_front_page()) {
+            echo "<div class=\"breadcrumbs\">";
+            bcn_display();
+            echo "</div>";
+        }
+        ?>
     </div>
     </div>
     <div class=" row">
     <div class="small-12 columns">
         <?php if(have_posts()) : while(have_posts()): the_post();?>
-                <?php the_content();?>
-                <?php endwhile; else:?>
-                <p><?php _e('Sorry, no posts yet');?></p>
-                <?php endif;?>
+        <h1><?php the_title();?></h1>
+        <?php the_content();?>
+        <?php endwhile; else:?>
+        <p><?php _e('Sorry, no posts yet');?></p>
+        <?php endif;?>
     </div>
     </div>
 <?php get_footer(); ?>
\ No newline at end of file