Adding content partial to the members only section
authorLaury GvR <laury@gaslightmedia.com>
Thu, 22 Jun 2017 18:07:02 +0000 (14:07 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Thu, 22 Jun 2017 18:07:02 +0000 (14:07 -0400)
parts/content-section.php [new file with mode: 0644]

diff --git a/parts/content-section.php b/parts/content-section.php
new file mode 100644 (file)
index 0000000..64cacf8
--- /dev/null
@@ -0,0 +1,5 @@
+    <?php if(have_posts()) : while(have_posts()): the_post();?>
+    <?php the_content();?>
+    <?php endwhile; else:?>
+    <p><?php _e('Sorry, no results found.');?></p>
+    <?php endif;?>
\ No newline at end of file