Skip to content

Commit

Permalink
1.1 updates. Happy new year!
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaiz committed Dec 30, 2017
1 parent 9e08b5b commit c1087a4
Show file tree
Hide file tree
Showing 31 changed files with 787 additions and 707 deletions.
4 changes: 2 additions & 2 deletions 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<div class="404-txt">

<h3><?php _e( 'I\'m sorry Dave, I\'m afraid I can\'t do that.', 'templatetheme' ); ?></h3>
<h3><?php _e( 'I\'m sorry Dave, I\'m afraid I can\'t do that.', 'platetheme' ); ?></h3>
<p>We couldn't find what you are looking for, please try searching.</p>

</div>
Expand All @@ -27,7 +27,7 @@

<section class="search">

<p><?php get_search_form(); ?></p>
<div class="search-form-outer"><?php get_search_form(); ?></div>

</section>

Expand Down
14 changes: 14 additions & 0 deletions CHANGELOG.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,20 @@ <h1 id="platethemechangeloghistory">Plate Theme Change Log + History</h1>

<hr />

<p>###1.1 2017&#8211;12&#8211;30
####Semi-major update.
We&#8217;ve been using Plate almost exclusively so I went ahead and
namespaced all of the functions and enqueues with plate which
makes it less confusing dealing with template parts.</p>

<ul>
<li>Reordered sections in _base.scss</li>
<li>Removed custom-post-type-icon.png (not needed with Dashicons)</li>
<li>Removed nothing.gif and nothumb.gif (I&#8217;ve never used those)</li>
<li>updated and formatted page-html.php (finally)</li>
<li>General cleanup stuff</li>
</ul>

<p>###1.0.4 2017&#8211;12&#8211;17
Replaced parallax script in extras.js
Updated all files to 4 spaces per tab
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ Author: Joshua Michaels for studio.bio with help from Jon Iler

*******************************************************************

###1.1 2017-12-30
####Semi-major update.
We've been using Plate almost exclusively so I went ahead and
namespaced all of the functions and enqueues with plate which
makes it less confusing dealing with template parts.
- Reordered sections in _base.scss
- Removed custom-post-type-icon.png (not needed with Dashicons)
- Removed nothing.gif and nothumb.gif (I've never used those)
- updated and formatted page-html.php (finally)
- General cleanup stuff

###1.0.4 2017-12-17
Replaced parallax script in extras.js
Updated all files to 4 spaces per tab
Expand Down
18 changes: 13 additions & 5 deletions comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,18 @@

<?php if ( have_comments() ) : ?>

<h3 id="comments-title" class="h2"><?php comments_number( __( '<span>No</span> Comments', 'templatetheme' ), __( '<span>One</span> Comment', 'templatetheme' ), __( '<span>%</span> Comments', 'templatetheme' ) );?></h3>
<h3 id="comments-title" class="h2"><?php comments_number( __( '<span>No</span> Comments', 'platetheme' ), __( '<span>One</span> Comment', 'platetheme' ), __( '<span>%</span> Comments', 'platetheme' ) );?></h3>

<section class="commentlist">

<?php
wp_list_comments( array(
'style' => 'div',
'short_ping' => true,
'avatar_size' => 40,
'callback' => 'template_comments',
'type' => 'all',
'reply_text' => __('Reply', 'templatetheme'),
'reply_text' => __('Reply', 'platetheme'),
'page' => '',
'per_page' => '',
'reverse_top_level' => null,
Expand All @@ -33,17 +34,24 @@
)
);
?>

</section>

<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : ?>

<nav class="navigation comment-navigation" role="navigation">
<div class="comment-nav-prev"><?php previous_comments_link( __( '&larr; Previous Comments', 'templatetheme' ) ); ?></div>
<div class="comment-nav-next"><?php next_comments_link( __( 'More Comments &rarr;', 'templatetheme' ) ); ?></div>

<div class="comment-nav-prev"><?php previous_comments_link( __( '&larr; Previous Comments', 'platetheme' ) ); ?></div>
<div class="comment-nav-next"><?php next_comments_link( __( 'More Comments &rarr;', 'platetheme' ) ); ?></div>

</nav>

<?php endif; ?>

<?php if ( ! comments_open() ) : ?>
<p class="no-comments"><?php _e( 'Comments are closed.' , 'templatetheme' ); ?></p>

<p class="no-comments"><?php _e( 'Comments are closed.' , 'platetheme' ); ?></p>

<?php endif; ?>

<?php endif; ?>
Expand Down
2 changes: 1 addition & 1 deletion footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
wp_nav_menu(array(
'container' => 'div', // enter '' to remove nav container (just make sure .footer-links in _base.scss isn't wrapping)
'container_class' => 'footer-links cf', // class of container (should you choose to use it)
'menu' => __( 'Footer Links', 'templatetheme' ), // nav name
'menu' => __( 'Footer Links', 'platetheme' ), // nav name
'menu_class' => 'nav footer-nav cf', // adding custom nav class
'theme_location' => 'footer-links', // where it's located in the theme
'before' => '', // before the menu
Expand Down
Loading

0 comments on commit c1087a4

Please sign in to comment.