forked from KeywordDomains/Lehti
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
53 lines (41 loc) · 1001 Bytes
/
page.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
53
<?php
/**
*@desc A single blog post See page.php is for a page layout.
*/
get_header();
?>
<?php
if (have_posts()) : while (have_posts()) : the_post();
?>
<?php
$boloday = get_option('boloday');
?>
<?php if(has_post_thumbnail()) { ?>
<div id="feature" class="<?php echo $boloday[3]; ?>">
<?php the_post_thumbnail('feature_full'); ?>
</div>
<?php } ?>
<div id="main" role="main">
<section id="content" class="post hentry">
<div class="page-inner">
<h1 class="post-title beta"><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h1>
<div class="post"><?php the_content(__('(more...)', 'boloday')); ?></div>
<?php
get_template_part('inc/breadcrumbs');
comments_template();
?>
</div>
</section>
<aside id="sidebar">
<?php get_sidebar(); ?>
</aside>
</div>
<?php
endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.', 'boloday'); ?></p>
<?php
endif;
?>
<?php
get_footer();
?>