-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from blueprintmrk/blueprintmrk-patch-2
Dial Update
- Loading branch information
Showing
21 changed files
with
5,129 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php get_header(); ?> | ||
<style>#searchFormOn404 {margin: 0 0 20px;</style> | ||
<h1>We Are Sorry</h1> | ||
<p>The page you requested does not exist. You can <a href="javascript:history.back();">return to the previous page</a> or perform a search below.</p> | ||
|
||
<h2>Search</h2> | ||
<form id="searchFormOn404" role="search" method="get" action="<?php echo home_url( '/' ); ?>"> | ||
<div> | ||
<input type="text" value="" name="s" id="s" /> | ||
<input type="submit" id="searchsubmit" value="Submit" /> | ||
</div> | ||
</form> | ||
|
||
<?php if(has_nav_menu('main-nav')) { | ||
echo "<h2>Site Map</h2>"; | ||
wp_nav_menu(array('theme_location' => 'main-nav', 'container' => false, 'items_wrap' => '<ul>%3$s</ul>')); | ||
} ?> | ||
|
||
|
||
<?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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php get_header(); ?> | ||
<!-- BEGIN archive.php --> | ||
<?php the_post(); ?> | ||
<?php if ( is_day() ) : ?> | ||
<h1 class="page-title"><?php printf( __( 'Daily Archives: <span>%s</span>', 'your-theme' ), get_the_time(get_option('date_format')) ) ?></h1> | ||
<?php elseif ( is_month() ) : ?> | ||
<h1 class="page-title"><?php printf( __( 'Monthly Archives: <span>%s</span>', 'your-theme' ), get_the_time('F Y') ) ?></h1> | ||
<?php elseif ( is_year() ) : ?> | ||
<h1 class="page-title"><?php printf( __( 'Yearly Archives: <span>%s</span>', 'your-theme' ), get_the_time('Y') ) ?></h1> | ||
<?php elseif ( isset($_GET['paged']) && !empty($_GET['paged']) ) : ?> | ||
<h1 class="page-title"><?php _e( 'Blog Archives', 'your-theme' ) ?></h1> | ||
<?php endif; ?> | ||
<?php rewind_posts(); ?> | ||
<?php while ( have_posts() ) : the_post(); ?> | ||
<?php nc_generate_post_summary(); ?> | ||
<?php endwhile; ?> | ||
<?php nextclient_pagination(); ?> | ||
<!-- END archive.php --> | ||
<?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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php get_header(); ?> | ||
<!-- BEGIN author.php --> | ||
<?php the_post(); ?> | ||
<?php | ||
if(isset($nc_author_name)) {$authordata->display_name = $nc_author_name;} | ||
?> | ||
<h1 class="page-title author"><?php printf( __( 'Author Archives: <span class="vcard">%s</span>', 'your-theme' ), "<a class='url fn n' href='$authordata->user_url' title='$authordata->display_name' rel='me'>$authordata->display_name</a>" ) ?></h1> | ||
<?php $authordesc = $authordata->user_description; if ( !empty($authordesc) ) echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $authordesc . '</div>' ); ?> | ||
<?php rewind_posts(); ?> | ||
<?php while ( have_posts() ) : the_post(); ?> | ||
<?php nc_generate_post_summary(); ?> | ||
<?php endwhile; ?> | ||
<?php nextclient_pagination(); ?> | ||
<!-- END author.php --> | ||
<?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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php get_header(); ?> | ||
<!-- BEGIN category.php --> | ||
<?php the_post(); ?> | ||
<h1 class="page-title"><?php _e( 'Category Archives:', 'your-theme' ) ?> <span class="category-title"><?php single_cat_title() ?></span></h1> | ||
<?php $categorydesc = category_description(); if ( !empty($categorydesc) ) echo apply_filters( 'archive_meta', '<div class="archive-meta">' . $categorydesc . '</div>' ); ?> | ||
<?php rewind_posts(); ?> | ||
<?php while ( have_posts() ) : the_post(); ?> | ||
<?php nc_generate_post_summary(); ?> | ||
<?php endwhile; ?> | ||
<?php nextclient_pagination(); ?> | ||
<!-- END category.php --> | ||
<?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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,209 @@ | ||
|
||
|
||
<!-- BEGIN comments.php --> | ||
|
||
|
||
<?php /* The Comments Template — with, er, comments! */ ?> | ||
|
||
<div id="comments"> | ||
|
||
<?php /* Run some checks for bots and password protected posts */ ?> | ||
<?php | ||
$req = get_option('require_name_email'); // Checks if fields are required. | ||
if ( 'comments.php' == basename($_SERVER['SCRIPT_FILENAME']) ) | ||
die ( 'Please do not load this page directly. Thanks!' ); | ||
if ( ! empty($post->post_password) ) : | ||
if ( $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password ) : | ||
?> | ||
|
||
<div class="nopassword"> | ||
<?php _e('This post is password protected. Enter the password to view any comments.', 'your-theme') ?> | ||
</div> | ||
</div> | ||
<!-- .comments --> | ||
|
||
|
||
|
||
<?php | ||
return; | ||
endif; | ||
endif; | ||
?> | ||
|
||
<?php /* See IF there are comments and do the comments stuff! */ ?> | ||
<?php if ( have_comments() ) : ?> | ||
<?php /* Count the number of comments and trackbacks (or pings) */ | ||
$ping_count = $comment_count = 0; | ||
foreach ( $comments as $comment ) | ||
get_comment_type() == "comment" ? ++$comment_count : ++$ping_count; | ||
?> | ||
<?php /* IF there are comments, show the comments */ ?> | ||
<?php if ( ! empty($comments_by_type['comment']) ) : ?> | ||
|
||
<div id="comments-list" class="comments"> | ||
<h3><?php printf($comment_count > 1 ? __('<span>%d</span> Comments', 'your-theme') : __('<span>One</span> Comment', 'your-theme'), $comment_count) ?></h3> | ||
|
||
<?php /* If there are enough comments, build the comment navigation */ ?> | ||
<?php $total_pages = get_comment_pages_count(); if ( $total_pages > 1 ) : ?> | ||
|
||
<div id="comments-nav-above" class="comments-navigation"> | ||
<div class="paginated-comments-links"> | ||
<?php paginate_comments_links(); ?> | ||
</div> | ||
</div> | ||
<!-- #comments-nav-above --> | ||
|
||
<?php endif; ?> | ||
<?php /* An ordered list of our custom comments callback, custom_comments(), in functions.php */ ?> | ||
|
||
<ol> | ||
<?php wp_list_comments(); ?> | ||
</ol> | ||
|
||
|
||
|
||
|
||
<?php /* If there are enough comments, build the comment navigation */ ?> | ||
<?php $total_pages = get_comment_pages_count(); if ( $total_pages > 1 ) : ?> | ||
|
||
<div id="comments-nav-below" class="comments-navigation"> | ||
<div class="paginated-comments-links"> | ||
|
||
<?php paginate_comments_links(); ?> | ||
|
||
</div> | ||
</div> | ||
<!-- #comments-nav-below --> | ||
|
||
<?php endif; ?> | ||
</div> | ||
<!-- #comments-list .comments --> | ||
|
||
|
||
|
||
|
||
<?php endif; /* if ( $comment_count ) */ ?> | ||
<?php /* If there are trackbacks(pings), show the trackbacks */ ?> | ||
<?php if ( ! empty($comments_by_type['pings']) ) : ?> | ||
|
||
<div id="trackbacks-list" class="comments"> | ||
<h3><?php printf($ping_count > 1 ? __('<span>%d</span> Trackbacks', 'your-theme') : __('<span>One</span> Trackback', 'your-theme'), $ping_count) ?></h3> | ||
<?php /* An ordered list of our custom trackbacks callback, custom_pings(), in functions.php */ ?> | ||
<ol> | ||
<?php wp_list_comments('type=pings&callback=custom_pings'); ?> | ||
</ol> | ||
</div> | ||
<!-- #trackbacks-list .comments --> | ||
|
||
|
||
|
||
<?php endif /* if ( $ping_count ) */ ?> | ||
<?php endif /* if ( $comments ) */ ?> | ||
<?php /* If comments are open, build the respond form */ ?> | ||
<?php if ( 'open' == $post->comment_status ) : ?> | ||
|
||
<div id="respond"> | ||
<h3><?php comment_form_title( __('Post a Comment', 'your-theme'), __('Post a Reply to %s', 'your-theme') ); ?></h3> | ||
<div id="cancel-comment-reply"> | ||
<?php cancel_comment_reply_link() ?> | ||
</div> | ||
|
||
<?php if ( get_option('comment_registration') && !$user_ID ) : ?> | ||
<p id="login-req"><?php printf(__('You must be <a href="%s" title="Log in">logged in</a> to post a comment.', 'your-theme'), | ||
get_option('siteurl') . '/wp-login.php?redirect_to=' . get_permalink() ) ?></p> | ||
<?php else : ?> | ||
|
||
<div class="formcontainer"> | ||
<form id="commentform" action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post"> | ||
|
||
<?php if ( $user_ID ) : ?> | ||
|
||
<p id="login"><?php printf(__('<span class="loggedin">Logged in as <a href="%1$s" title="Logged in as %2$s">%2$s</a>.</span> <span class="logout"><a href="%3$s" title="Log out of this account">Log out?</a></span>', 'your-theme'), | ||
get_option('siteurl') . '/wp-admin/profile.php', | ||
wp_specialchars($user_identity, true), | ||
wp_logout_url(get_permalink()) ) ?></p> | ||
|
||
<?php else : ?> | ||
|
||
|
||
<p id="comment-notes"><?php _e('Your email is <em>never</em> published nor shared.', 'your-theme') ?> <?php if ($req) _e('Required fields are marked <span class="required">*</span>', 'your-theme') ?></p> | ||
<div id="form-section-author" class="form-section"> | ||
<div class="form-label"> | ||
<label for="author"><?php _e('Name', 'your-theme') ?></label> | ||
<?php if ($req) _e('<span class="required">*</span>', 'your-theme') ?> | ||
</div> | ||
<div class="form-input"> | ||
<input id="author" name="author" type="text" value="<?php echo $comment_author ?>" size="30" maxlength="20" tabindex="3" /> | ||
</div> | ||
</div> | ||
<!-- #form-section-author .form-section --> | ||
|
||
|
||
<div id="form-section-email" class="form-section"> | ||
<div class="form-label"> | ||
<label for="email"><?php _e('Email', 'your-theme') ?></label> | ||
<?php if ($req) _e('<span class="required">*</span>', 'your-theme') ?> | ||
</div> | ||
<div class="form-input"> | ||
<input id="email" name="email" type="text" value="<?php echo $comment_author_email ?>" size="30" maxlength="50" tabindex="4" /> | ||
</div> | ||
</div> | ||
<!-- #form-section-email .form-section --> | ||
|
||
|
||
<div id="form-section-url" class="form-section"> | ||
<div class="form-label"> | ||
<label for="url"><?php _e('Website', 'your-theme') ?></label> | ||
</div> | ||
<div class="form-input"> | ||
<input id="url" name="url" type="text" value="<?php echo $comment_author_url ?>" size="30" maxlength="50" tabindex="5" /> | ||
</div> | ||
</div> | ||
<!-- #form-section-url .form-section --> | ||
|
||
|
||
<div class="clear"></div> | ||
|
||
|
||
|
||
<?php endif /* if ( $user_ID ) */ ?> | ||
<div id="form-section-comment" class="form-section"> | ||
<div class="form-label"> | ||
<label for="comment"><?php _e('Comment', 'your-theme') ?></label> | ||
</div> | ||
<div class="form-textarea"> | ||
<textarea id="comment" name="comment" cols="45" rows="8" tabindex="6"></textarea> | ||
</div> | ||
</div> | ||
<!-- #form-section-comment .form-section --> | ||
|
||
|
||
|
||
<?php do_action('comment_form', $post->ID); ?> | ||
<div class="form-submit"> | ||
<input id="submit" name="submit" type="submit" value="<?php _e('Post Comment', 'your-theme') ?>" tabindex="7" /> | ||
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" /> | ||
<input type="reset" value="Clear Comment" /> | ||
</div> | ||
<?php comment_id_fields(); ?> | ||
<?php /* Just … end everything. We're done here. Close it up. */ ?> | ||
</form> | ||
<!-- #commentform --> | ||
|
||
|
||
</div> | ||
<!-- .formcontainer --> | ||
|
||
|
||
<?php endif /* if ( get_option('comment_registration') && !$user_ID ) */ ?> | ||
</div> | ||
<!-- #respond --> | ||
|
||
<?php endif /* if ( 'open' == $post->comment_status ) */ ?> | ||
</div> | ||
<!-- #comments --> | ||
|
||
|
||
|
||
<!-- END comments.php --> | ||
|
Oops, something went wrong.
ce68842
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeFactor found an issue: Unexpected duplicate selector "input,textarea,select", first used at line 18 (no-duplicate-selectors)
It's currently on:
style.css:18
Commit ce68842
ce68842
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeFactor found an issue: Unexpected empty block (block-no-empty)
It's currently on:
style.css:2897
Commit ce68842
ce68842
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeFactor found an issue: Unexpected empty block (block-no-empty)
It's currently on:
style.css:2353
Commit ce68842
ce68842
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeFactor found an issue: Unexpected empty block (block-no-empty)
It's currently on:
style.css:1270
Commit ce68842
ce68842
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeFactor found an issue: Unexpected empty block (block-no-empty)
It's currently on:
style.css:1147
Commit ce68842
ce68842
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeFactor found multiple issues last seen at ce68842:
Unexpected duplicate selector ".article .youtube-embed-cont", first used at line 3098 (no-duplicate-selectors)
style.css:3300
Unexpected duplicate selector ".youtube-embed-cont iframe, .youtube-embed-cont object, .youtube-embed-cont embed", first used at line 3091 (no-duplicate-selectors)
style.css:3291
Unexpected duplicate selector ".youtube-embed-cont", first used at line 3085 (no-duplicate-selectors)
style.css:3285
Unexpected duplicate selector ".nc_form .captcha-container", first used at line 2863 (no-duplicate-selectors)
style.css:2899
Unexpected duplicate selector ".hpVidsHeading", first used at line 2325 (no-duplicate-selectors)
style.css:2330
Unexpected duplicate selector ".pasList li", first used at line 1714 (no-duplicate-selectors)
style.css:1768
Unexpected duplicate selector ".sb-homeTitle .homeTitle", first used at line 1609 (no-duplicate-selectors)
style.css:1619
Unexpected duplicate selector ".sbPASList li", first used at line 1435 (no-duplicate-selectors)
style.css:1489
Unexpected duplicate selector ".article ul, .article ol", first used at line 1071 (no-duplicate-selectors)
style.css:1080
Unexpected duplicate selector "li", first used at line 18 (no-duplicate-selectors)
style.css:1040
Unexpected duplicate selector "nav.mm_mob ul a", first used at line 383 (no-duplicate-selectors)
style.css:394
Unexpected duplicate selector "#mm1", first used at line 325 (no-duplicate-selectors)
style.css:332
Unexpected duplicate selector ".mmi", first used at line 300 (no-duplicate-selectors)
style.css:331
Unexpected duplicate selector "nav.mm ul ul", first used at line 222 (no-duplicate-selectors)
style.css:254
Unexpected duplicate selector "a", first used at line 25 (no-duplicate-selectors)
style.css:67
Unexpected duplicate selector "html", first used at line 18 (no-duplicate-selectors)
style.css:59
Unexpected empty block (block-no-empty)
style.css:88
style-simplest.css:257
Unexpected duplicate "padding" (declaration-block-no-duplicate-properties)
style.css:2698
Unexpected duplicate "box-sizing" (declaration-block-no-duplicate-properties)
style.css:2011
Unexpected duplicate "transition" (declaration-block-no-duplicate-properties)
style.css:710
Unexpected duplicate selector ".nc_form .captcha-container", first used at line 207 (no-duplicate-selectors)
style-simplest.css:262
Unexpected duplicate selector "a", first used at line 14 (no-duplicate-selectors)
style-simplest.css:64
Unexpected duplicate selector "sub", first used at line 10 (no-duplicate-selectors)
style-simplest.css:51
Unexpected duplicate selector "sup", first used at line 10 (no-duplicate-selectors)
style-simplest.css:50
Unexpected duplicate selector "input,textarea,select", first used at line 10 (no-duplicate-selectors)
style-simplest.css:10