Skip to content

Commit

Permalink
Merge pull request #93 from tomusborne/release/2.3
Browse files Browse the repository at this point in the history
Release/2.3
  • Loading branch information
tomusborne authored Jun 18, 2019
2 parents 6067ee6 + 3cc8179 commit 7fdcddf
Show file tree
Hide file tree
Showing 37 changed files with 1,494 additions and 310 deletions.
7 changes: 7 additions & 0 deletions archive.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@

endwhile;

/**
* generate_after_loop hook.
*
* @since 2.3
*/
do_action( 'generate_after_loop' );

generate_content_nav( 'nav-below' );

else :
Expand Down
12 changes: 1 addition & 11 deletions comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,17 +107,7 @@
<p class="no-comments"><?php _e( 'Comments are closed.', 'generatepress' ); // WPCS: XSS OK. ?></p>
<?php endif;

$defaults = array(
'comment_field' => '<p class="comment-form-comment"><label for="comment" class="screen-reader-text">' . esc_html__( 'Comment', 'generatepress' ) . '</label><textarea id="comment" name="comment" cols="45" rows="8" aria-required="true"></textarea></p>',
'comment_notes_before' => null,
'comment_notes_after' => null,
'id_form' => 'commentform',
'id_submit' => 'submit',
'title_reply' => apply_filters( 'generate_leave_comment', __( 'Leave a Comment', 'generatepress' ) ),
'label_submit' => apply_filters( 'generate_post_comment', __( 'Post Comment', 'generatepress' ) ),
);

comment_form( $defaults );
comment_form();
?>

</div><!-- #comments -->
1 change: 1 addition & 0 deletions css/all.min.css

Large diffs are not rendered by default.

54 changes: 11 additions & 43 deletions css/mobile.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@
# Links
# Top Bar
# Content Area
# Columns
# Header
# Menu
# Footer
--------------------------------------------------------------*/

Expand All @@ -23,6 +21,12 @@ button.menu-toggle {
text-align: center;
}

button.menu-toggle:hover,
button.menu-toggle:active,
button.menu-toggle:focus {
background-color: transparent;
}

.menu-toggle:before {
content: "\f0c9";
font-family: GeneratePress;
Expand Down Expand Up @@ -107,12 +111,8 @@ nav.toggled ul ul.sub-menu {
display: none !important;
}

.main-navigation.toggled .dropdown-menu-toggle:before {
content: "\f107" !important;
}

.main-navigation.toggled .sfHover > a .dropdown-menu-toggle:before {
content: "\f106" !important;
content: "\f106";
}

.main-navigation.toggled .menu-item-has-children .dropdown-menu-toggle {
Expand Down Expand Up @@ -172,7 +172,8 @@ nav.toggled ul ul.sub-menu {
margin-bottom: 20px;
}

.site-header {
.site-header,
.header-aligned-right .site-header {
text-align: center;
}

Expand All @@ -182,26 +183,6 @@ nav.toggled ul ul.sub-menu {
text-align: center;
}

/*--------------------------------------------------------------
## Menu
--------------------------------------------------------------*/

.main-navigation .menu-toggle,
.main-navigation .mobile-bar-items,
.sidebar-nav-mobile:not(#sticky-placeholder) {
display: block;
}

.main-navigation ul,
.gen-sidebar-nav {
display: none;
}

[class*="nav-float-"] .site-header .inside-header > * {
float: none;
clear: both;
}

/*--------------------------------------------------------------
## Content Area
--------------------------------------------------------------*/
Expand Down Expand Up @@ -271,21 +252,8 @@ nav.toggled ul ul.sub-menu {
font-size: inherit;
}

/*--------------------------------------------------------------
## Columns
--------------------------------------------------------------*/

.wp-block-columns {
-ms-flex-wrap: wrap;
flex-wrap: wrap;
margin-left: 0;
}

.wp-block-columns .wp-block-column {
-ms-flex-preferred-size: 100%;
flex-basis: 100%;
margin-left: 0;
margin-bottom: 40px;
.entry-meta a {
line-height: 1.8em;
}

/*--------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion css/mobile.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 7fdcddf

Please sign in to comment.