updated file structures and HTML, added archive, single, page for better view control. updated labeling.
This commit is contained in:
23
comments.php
23
comments.php
@@ -1,14 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* The template for displaying Comments.
|
||||
*
|
||||
* The area of the page that contains comments and the comment form.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Twenty_Thirteen
|
||||
* @since Twenty Thirteen 1.0
|
||||
*/
|
||||
|
||||
// MFWPT - single.php
|
||||
|
||||
// uses code from Wordpress Twenty_Thirteen
|
||||
?>
|
||||
|
||||
<?php
|
||||
/*
|
||||
* If the current post is protected by a password and the visitor has not yet
|
||||
* entered the password we will return early without loading the comments.
|
||||
@@ -17,11 +13,10 @@ if ( post_password_required() )
|
||||
return;
|
||||
?>
|
||||
|
||||
<div id="comments" class="comments-area">
|
||||
<section class="comments-area">
|
||||
|
||||
<?php if ( have_comments() ) : ?>
|
||||
<h2 class="comments-title">Comments:
|
||||
</h2>
|
||||
<h2 class="comments-title">Comments:</h2>
|
||||
|
||||
<div class="comment-list">
|
||||
<?php
|
||||
@@ -42,4 +37,4 @@ if ( post_password_required() )
|
||||
|
||||
<?php comment_form(); ?>
|
||||
|
||||
</div><!-- #comments -->
|
||||
</section><!-- #comments-area -->
|
Reference in New Issue
Block a user