forked from zgreen/MITlibraries-child
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingle.php
More file actions
58 lines (43 loc) · 1.47 KB
/
Copy pathsingle.php
File metadata and controls
58 lines (43 loc) · 1.47 KB
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
<?php
/**
*
* This is the template that displays the news page
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
*/
$pageRoot = getRoot($post);
$section = get_post($pageRoot);
$isRoot = $section->ID == $post->ID;
get_header(); ?>
<?php get_template_part('inc/breadcrumbs', 'child') ?>
<div id="stage" class="inner group" role="main">
<?php get_template_part('inc/postHead'); ?>
<div id="content" class="allContent hasSidebar group">
<div id="mainContent" class="mainContent group">
<?php while ( have_posts() ) : the_post(); ?>
<div class="post">
<h2 id="post-<?php the_ID(); ?>"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h2>
<small>Posted <?php the_time('F jS, Y') ?> by <?php the_author() ?> </small>
<div class="entry">
<?php the_content('Read the rest of this entry »'); ?>
</div>
<p class="postmetadata">Posted in <?php the_category(', ') ?>
<!--
<strong>|</strong>
-->
<?php edit_post_link('(Edit)'); ?> </p>
<!--
<?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?></p>
-->
<!--
<?php trackback_rdf(); ?>
-->
</div>
<?php endwhile; // end of the loop. ?>
</div>
<?php get_sidebar(); ?>
</div>
</div><!-- end div#stage -->
<?php get_footer(); ?>