Update the name of the testimonial single page
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 10 Apr 2015 14:40:08 +0000 (10:40 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 10 Apr 2015 14:40:08 +0000 (10:40 -0400)
single comes first.

single-testimonial.php [new file with mode: 0644]
testimonials-single.php [deleted file]

diff --git a/single-testimonial.php b/single-testimonial.php
new file mode 100644 (file)
index 0000000..4a2b710
--- /dev/null
@@ -0,0 +1,23 @@
+<?php get_header(); ?>
+    <div class="main">
+        <?php get_template_part('parts/testimonial');?>
+        <div id="content-wrapper">
+             <div class="row">
+                 <?php get_template_part('parts/bread-crumbs');?>
+             </div>
+             <div class="row">
+                <div id="main-content" class="small-11 small-centered columns">
+                    <?php $pageData = get_page_by_title('testimonials');?>
+                    <?php echo apply_filters('the_content', $pageData->post_content);?>
+                    <?php if(have_posts()) : while(have_posts()): the_post();?>
+                    <h2><?php the_title();?></h2>
+                    <?php the_content();?>
+                    <hr>
+                    <?php endwhile; else:?>
+                    <p><?php _e('Sorry, no posts yet');?></p>
+                    <?php endif;?>
+                </div>
+            </div>
+            <?php get_template_part('parts/logos');?>
+        </div>
+<?php get_footer(); ?>
diff --git a/testimonials-single.php b/testimonials-single.php
deleted file mode 100644 (file)
index 4a2b710..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php get_header(); ?>
-    <div class="main">
-        <?php get_template_part('parts/testimonial');?>
-        <div id="content-wrapper">
-             <div class="row">
-                 <?php get_template_part('parts/bread-crumbs');?>
-             </div>
-             <div class="row">
-                <div id="main-content" class="small-11 small-centered columns">
-                    <?php $pageData = get_page_by_title('testimonials');?>
-                    <?php echo apply_filters('the_content', $pageData->post_content);?>
-                    <?php if(have_posts()) : while(have_posts()): the_post();?>
-                    <h2><?php the_title();?></h2>
-                    <?php the_content();?>
-                    <hr>
-                    <?php endwhile; else:?>
-                    <p><?php _e('Sorry, no posts yet');?></p>
-                    <?php endif;?>
-                </div>
-            </div>
-            <?php get_template_part('parts/logos');?>
-        </div>
-<?php get_footer(); ?>