/
index.php
52 lines (43 loc) · 1.53 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
get_header();
?>
<div id="sidebar-center" class="pull-left">
<?php origamiez_get_breadcrumb(); ?>
<?php if (have_posts()) : ?>
<div class="clearfix"></div>
<div id="sidebar-center-bottom" class="row clearfix">
<?php
while (have_posts()) : the_post();
?>
<article id="origamiez-post-wrap" <?php post_class('clearfix'); ?>>
<h1 class="entry-title" style="display: none;"><?php the_title(); ?></h1>
<div class="entry-content">
<?php the_content(); ?>
</div>
<?php
wp_link_pages(array(
'before' => '<div id="ct_singular_pagination" class="clearfix">',
'after' => '</div>',
'next_or_number' => 'next',
'separator' => ' . ',
'nextpagelink' => __('Next', 'origamiez'),
'previouspagelink' => __('Previous', 'origamiez'),
));
?>
</article>
<?php comments_template(); ?>
<?php
endwhile;
?>
</div>
<?php
else :
// If no content, include the "No posts found" template.
get_template_part('content', 'none');
endif;
?>
</div>
<?php get_sidebar('right'); ?>
<div class="clearfix"></div>
<?php
get_footer();