-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
409dde4
commit 3122609
Showing
40 changed files
with
1,410 additions
and
1,441 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
<?php get_header(); ?> | ||
<main class="clearfix" id="content" role="main"> | ||
<h2>Error 404 - Page Not Found</h2> | ||
</main> | ||
|
||
<main class="clearfix" id="content" role="main"> | ||
<h2>Error 404 - Page Not Found</h2> | ||
</main> | ||
|
||
<aside id="sidebar" role="complementary"> | ||
<?php get_sidebar(); ?> | ||
</aside> | ||
|
||
<aside id="sidebar" role="complementary"> | ||
<?php get_sidebar(); ?> | ||
</aside> | ||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,62 +1,62 @@ | ||
<?php | ||
if( ! empty( $_SERVER[ 'SCRIPT_FILENAME' ] ) && 'comments.php' == basename( $_SERVER[ 'SCRIPT_FILENAME' ] ) ) | ||
die('please do not load this page directly kind sir'); | ||
if( ! empty( $_SERVER[ 'SCRIPT_FILENAME' ] ) && 'comments.php' == basename( $_SERVER[ 'SCRIPT_FILENAME' ] ) ) | ||
die('please do not load this page directly kind sir'); | ||
?> | ||
|
||
<div class="comments"> | ||
<?php if ( post_password_required() ) : ?> | ||
<p class="nopassword"><?php echo( 'This post is password protected. Enter the password to view any comments.' ); ?></p> | ||
<?php return; ?> | ||
<?php endif; ?> | ||
<?php if ( post_password_required() ) : ?> | ||
<p class="nopassword"><?php echo( 'This post is password protected. Enter the password to view any comments.' ); ?></p> | ||
<?php return; ?> | ||
<?php endif; ?> | ||
|
||
<div id="comment-count"> | ||
<?php if ( have_comments() ) : ?> | ||
<h3><a href="<?php the_permalink(); ?>#respond">Leave a Comment</a></h3> | ||
<div id="comment-count"> | ||
<?php if ( have_comments() ) : ?> | ||
<h3><a href="<?php the_permalink(); ?>#respond">Leave a Comment</a></h3> | ||
|
||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // check if there comments to navigate through ?> | ||
<div class="pagination comment-pagination"> | ||
<span class="prev-comments-link"><?php previous_comments_link( '<span>← older comments</span>' ); ?></span> | ||
<span class="nxt-comments-link"><?php next_comments_link( '<span>newer comments →</span>' ); ?></span> | ||
</div> | ||
<?php endif; ?> | ||
</div> | ||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // check if there comments to navigate through ?> | ||
<div class="pagination comment-pagination"> | ||
<span class="prev-comments-link"><?php previous_comments_link( '<span>← older comments</span>' ); ?></span> | ||
<span class="nxt-comments-link"><?php next_comments_link( '<span>newer comments →</span>' ); ?></span> | ||
</div> | ||
<?php endif; ?> | ||
</div> | ||
|
||
<ol class="comment-list"> | ||
<?php | ||
$wpflex_comment_array = array( | ||
'walker' => null, | ||
'max_depth' => '', | ||
'style' => 'ol', | ||
'callback' => 'wpflex_comments', | ||
'end-callback' => null, | ||
'type' => 'comment', | ||
'reply_text' => 'reply', | ||
'page' => '', | ||
'per_page' => '', | ||
'reverse_top_level' => false, | ||
'reverse_children' => false, | ||
); | ||
?> | ||
<ol class="comment-list"> | ||
<?php | ||
$wpflex_comment_array = array( | ||
'walker' => null, | ||
'max_depth' => '', | ||
'style' => 'ol', | ||
'callback' => 'wpflex_comments', | ||
'end-callback' => null, | ||
'type' => 'comment', | ||
'reply_text' => 'reply', | ||
'page' => '', | ||
'per_page' => '', | ||
'reverse_top_level' => false, | ||
'reverse_children' => false, | ||
); | ||
?> | ||
|
||
<?php wp_list_comments( $wpflex_comment_array ); ?> | ||
</ol> | ||
<?php wp_list_comments( $wpflex_comment_array ); ?> | ||
</ol> | ||
|
||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> | ||
<div class="pagination comment-pagination"> | ||
<span class="prev-comments-link"><?php previous_comments_link( '<span>← older comments</span>' ); ?></span> | ||
<span class="nxt-comments-link"><?php next_comments_link( '<span>newer comments →</span>' ); ?></span> | ||
</div> | ||
<?php endif; ?> | ||
<?php else : | ||
if ( ! comments_open() ) : ?> | ||
<p class="nocomments"><?php echo( 'Comments are closed' ); ?></p> | ||
<?php endif; ?> | ||
<?php endif; ?> | ||
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through? ?> | ||
<div class="pagination comment-pagination"> | ||
<span class="prev-comments-link"><?php previous_comments_link( '<span>← older comments</span>' ); ?></span> | ||
<span class="nxt-comments-link"><?php next_comments_link( '<span>newer comments →</span>' ); ?></span> | ||
</div> | ||
<?php endif; ?> | ||
<?php else : | ||
if ( ! comments_open() ) : ?> | ||
<p class="nocomments"><?php echo( 'Comments are closed' ); ?></p> | ||
<?php endif; ?> | ||
<?php endif; ?> | ||
|
||
<?php if ( comments_open() ) : ?> | ||
<?php | ||
$commentform_args = array( 'comment_notes_after' => '<p class="form-allowed-tags">You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:<pre><code class="language-markup"><a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong></code></pre></p>' ); | ||
?> | ||
<?php comment_form($commentform_args); ?> | ||
<?php endif; ?> | ||
<?php if ( comments_open() ) : ?> | ||
<?php | ||
$commentform_args = array( 'comment_notes_after' => '<p class="form-allowed-tags">You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes:<pre><code class="language-markup"><a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong></code></pre></p>' ); | ||
?> | ||
<?php comment_form($commentform_args); ?> | ||
<?php endif; ?> | ||
</div> |
Oops, something went wrong.