-
Notifications
You must be signed in to change notification settings - Fork 1
/
loop-page.php
25 lines (19 loc) · 887 Bytes
/
loop-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
d="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<header>
<?php if ( is_front_page() ) { ?>
<h2 class="entry-title"><?php the_title(); ?></h2>
<?php } else { ?>
<h1 class="entry-title"><?php the_title(); ?></h1>
<?php } ?>
</header>
<!-- is this where I should call the custom fields for display? -->
<div class="entry-content">
<?php the_content(); ?>
<!-- in css, this has been styled display:none, but may as well comment it out, no? -->
<?php // wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'brunelleschi' ), 'after' => '</div>' ) ); ?>
<!-- end no-php -->
<?php edit_post_link( __( 'Edit', 'brunelleschi' ), '<span class="edit-link">', '</span>' ); ?>
</div><!-- .entry-content -->
</article><!-- #post-## -->
<?php comments_template( '', true ); ?>
<?php endwhile; ?>