forked from brettjonesdev/onetone-custom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
page.php
executable file
·66 lines (62 loc) · 2.15 KB
/
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
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
/**
* The sigle template file.
*
*/
get_header("site");
?>
<div id="post-<?php the_ID(); ?>" <?php post_class("clear"); ?>>
<div class="site-main">
<div class="main-content">
<div class="content-area">
<div class="site-content" role="main">
<header class="archive-header">
<h1 class="archive-title"><?php onetone_get_breadcrumb();?></h1>
</header>
<article class="post-entry">
<div class="entry-main">
<?php if (have_posts()) :?>
<?php
while ( have_posts() ) : the_post();
?>
<div class="entry-header">
<h1 class="entry-title"><?php the_title();?></h1>
<div class="entry-meta">
<span class="entry-date-sub"><?php echo get_the_time("M d, Y"); ?></span>
<span class="entry-category"><?php _e("Categories","onetone");?> : <?php the_category(', '); ?></span>
<span class="entry-author"><?php _e("Author","onetone");?>: <?php echo get_the_author_link();?></span>
<span class="entry-comments"><?php comments_popup_link( 'No comments yet', '1 comment', '% comments', 'comments-link', '');?></span>
</div>
</div>
<div class="entry-content">
<!--post content-->
<?php the_content();?>
<!--post econtent end-->
<div class="clear"></div>
</div>
<?php endwhile;?>
<?php endif;?>
</div>
</article>
<nav class="post-navigation"> </nav>
<div class="comments-area">
<?php
wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'onetone' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) );
comments_template();
?>
<!--comment-respond end-->
</div>
<!--comments-area end-->
</div>
</div>
</div>
<!--main-->
<div class="sidebar">
<div class="widget-area">
<?php dynamic_sidebar("default_sidebar") ;?>
</div>
</div>
<!--sidebar-->
</div>
</div>
<?php get_footer("site"); ?>