Markup alignments and changeling update for 0.6.3 update

This commit is contained in:
koenemann 2017-08-14 13:31:10 +02:00
parent 9b401fc900
commit 431c5d5499
3 changed files with 32 additions and 3 deletions

View File

@ -1,3 +1,16 @@
- ** Release 0.6.3 August 14h 2017 **
- Update to Bootstrap 4 Beta
- Fixing wrong escaping - Thx @ramiy
- Adding composer.json - Thx @selfagency
- WooCommerce 3.1 compatibility update - Thx @typeplus
- WooCommerce Bootstrap buttons - Thx @yeszao
- theme-settings.php update - Thx @oralunal
- Update responisve meta tags for Bootstrap 4 - Thx @chuckreynolds
- ** Release 0.6.2 June 7h 2017 **
- Hot fix release
- ** Release 0.6.1 May 18th 2017 ** - ** Release 0.6.1 May 18th 2017 **
- Replacing some older BS3 markup - Thx @typeplus and @Kostas Vrouvas - Replacing some older BS3 markup - Thx @typeplus and @Kostas Vrouvas

View File

@ -23,7 +23,9 @@ if ( post_password_required() ) {
<?php // You can start editing here -- including this comment! ?> <?php // You can start editing here -- including this comment! ?>
<?php if ( have_comments() ) : ?> <?php if ( have_comments() ) : ?>
<h2 class="comments-title"> <h2 class="comments-title">
<?php <?php
$comments_number = get_comments_number(); $comments_number = get_comments_number();
if ( 1 === $comments_number ) { if ( 1 === $comments_number ) {
@ -47,43 +49,56 @@ if ( post_password_required() ) {
); );
} }
?> ?>
</h2><!-- .comments-title --> </h2><!-- .comments-title -->
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through. ?> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through. ?>
<nav class="comment-navigation" id="comment-nav-above"> <nav class="comment-navigation" id="comment-nav-above">
<h1 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'understrap' ); ?></h1> <h1 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'understrap' ); ?></h1>
<?php if ( get_previous_comments_link() ) { ?> <?php if ( get_previous_comments_link() ) { ?>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments',
'understrap' ) ); ?></div> 'understrap' ) ); ?></div>
<?php } <?php }
if ( get_next_comments_link() ) { ?> if ( get_next_comments_link() ) { ?>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;',
'understrap' ) ); ?></div> 'understrap' ) ); ?></div>
<?php } ?> <?php } ?>
</nav><!-- #comment-nav-above --> </nav><!-- #comment-nav-above -->
<?php endif; // check for comment navigation. ?> <?php endif; // check for comment navigation. ?>
<ol class="comment-list"> <ol class="comment-list">
<?php <?php
wp_list_comments( array( wp_list_comments( array(
'style' => 'ol', 'style' => 'ol',
'short_ping' => true, 'short_ping' => true,
) ); ) );
?> ?>
</ol><!-- .comment-list --> </ol><!-- .comment-list -->
<?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through. ?> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // are there comments to navigate through. ?>
<nav class="comment-navigation" id="comment-nav-below"> <nav class="comment-navigation" id="comment-nav-below">
<h1 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'understrap' ); ?></h1> <h1 class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'understrap' ); ?></h1>
<?php if ( get_previous_comments_link() ) { ?> <?php if ( get_previous_comments_link() ) { ?>
<div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments', <div class="nav-previous"><?php previous_comments_link( __( '&larr; Older Comments',
'understrap' ) ); ?></div> 'understrap' ) ); ?></div>
<?php } <?php }
if ( get_next_comments_link() ) { ?> if ( get_next_comments_link() ) { ?>
<div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;', <div class="nav-next"><?php next_comments_link( __( 'Newer Comments &rarr;',
'understrap' ) ); ?></div> 'understrap' ) ); ?></div>
<?php } ?> <?php } ?>
</nav><!-- #comment-nav-below --> </nav><!-- #comment-nav-below -->
<?php endif; // check for comment navigation. ?> <?php endif; // check for comment navigation. ?>
<?php endif; // endif have_comments(). ?> <?php endif; // endif have_comments(). ?>

View File

@ -49,7 +49,8 @@ $container = get_theme_mod( 'understrap_container_type' );
</div><!-- wrapper end --> </div><!-- wrapper end -->
</div><!-- #page --> </div><!-- #page we need this extra closing tag here -->
<?php wp_footer(); ?> <?php wp_footer(); ?>
</body> </body>