summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'themes/mantra/index.php')
-rw-r--r--themes/mantra/index.php17
1 files changed, 9 insertions, 8 deletions
diff --git a/themes/mantra/index.php b/themes/mantra/index.php
index 7daad5d9..35300b7c 100644
--- a/themes/mantra/index.php
+++ b/themes/mantra/index.php
@@ -11,16 +11,16 @@
* @package Cryout Creations
* @subpackage Mantra
*/
-get_header();
+get_header();
if ($mantra_frontpage=="Enable" && is_front_page() ):
mantra_frontpage_generator();
- if ($mantra_frontposts=="Enable"): get_template_part('content','frontpage'); endif;
+ if ($mantra_frontposts=="Enable"): get_template_part('content/content','frontpage'); endif;
else:
?>
<section id="container">
-
+
<div id="content" role="main">
-
+
<?php cryout_before_content_hook(); ?><?php if ( have_posts() ) : ?>
<?php mantra_content_nav( 'nav-above' ); ?>
@@ -28,8 +28,8 @@ else:
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
- <?php get_template_part( 'content', get_post_format() ); ?>
-
+ <?php get_template_part( 'content/content', get_post_format() ); ?>
+
<?php endwhile; ?>
<?php if($mantra_pagination=="Enable") mantra_pagination(); else mantra_content_nav( 'nav-below' ); ?>
@@ -52,6 +52,7 @@ else:
</div><!-- #content -->
<?php get_sidebar(); ?>
</section><!-- #container -->
-<?php
+<?php
endif;
-get_footer(); ?> \ No newline at end of file
+
+get_footer(); \ No newline at end of file