-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpage.php
57 lines (34 loc) · 1.72 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
<?php get_header(); ?>
<div class="content clearfix">
<div id="main" class="clearfix" role="main">
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class('clearfix'); ?> role="article">
<header>
<h1 class="h2 page-title" itemprop="headline"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<p class="meta"><?php _e('Filed under:', "320semanticgs"); ?> <?php the_category(', ') ?> <?php _e('by', "320semanticgs"); ?> <?php the_author(); ?><br />
<?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> <?php edit_post_link('Edit', ' | ', ''); ?></p>
</header><!-- / header -->
<section class="post_content clearfix" itemprop="articleBody">
<?php the_post_thumbnail(); ?>
<?php
$more_link_text = '<span class="read-more">' . __('Read more on', '320semanticgs') . the_title(' "', '" »</span>', false) ;
the_content( $more_link_text );
?>
</section><!-- / section -->
<footer>
<?php
$posttags = get_the_tags(); $count = 0; if ($posttags) { foreach($posttags as $tag) { $count++; } };
$before_tags_text = '<p class="tags"><span class="tags-title">' . _n('Tag', 'Tags', $count, '320semanticgs') . '</span>: ';
the_tags( $before_tags_text, ', ', '</p>');
?>
</footer><!-- / footer -->
</article><!-- / article -->
<?php endwhile; ?>
<div class="navigation">
<?php posts_nav_link(); ?>
</div>
<?php endif; ?>
</div><!-- / main -->
<?php get_sidebar(); ?>
</div><!-- / content -->
<?php get_footer(); ?>