Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
ideadude committed May 1, 2020
2 parents cb92ed8 + ec67cb7 commit dc66276
Show file tree
Hide file tree
Showing 38 changed files with 1,383 additions and 585 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,19 @@ We highly recommend using these plugins for every site running Memberlite:

### Changelog

**4.4**
* FEATURE: Added layout for "No Sidebar" Layout for Blog, Archive, Posts.
* FEATURE: Added header background color customizer setting.
* ENHANCEMENT: Added support for new frontend login, log in widget, and profiles in PMPro v2.3+.
* BUG FIX/ENHANCEMENT: Improved CSS for sidebar menus and other widgets to only target menu-style lists, not all lists and for the Theme My Login widget.
* BUG FIX/ENHANCEMENT: Improved Customizer CSS output so that all input types to respect custom font settings.
* BUG FIX/ENHANCEMENT: Adjusted buttons and button-style links hover "brightness" instead of opacity for better appearance.
* BUG FIX/ENHANCEMENT: Added post_class `entry-header-grid` to posts formats so styling only applies in main loop.
* BUG FIX/ENHANCEMENT: Adjusted secondary (sidebar) text link to not apply to buttons.
* ENHANCEMENT: Added `memberlite_avatar_size` filter for adjusting avatar display size.
* ENHANCEMENT: Improved Accessibility and SEO by adding `alt` tags to post thumbnails and avatar.
* ENHANCEMENT: Updated to Font Awesome version 5.13.0.

**4.3 - 2019-05-13**
* BUG FIX: Fixed bug where {post_comments} replacement wasn't returning the correct count in masthead area.
* BUG FIX: Fixed spacing when applying a discount code and the error/success message displays.
Expand Down
2 changes: 1 addition & 1 deletion components/post/content-audio.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'entry-header-grid' ); ?>>
<?php get_template_part( 'components/post/entry', 'header' ); ?>
<div class="entry-content">
<?php do_action( 'memberlite_before_content_post' ); ?>
Expand Down
2 changes: 1 addition & 1 deletion components/post/content-image.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'entry-header-grid' ); ?>>
<?php get_template_part( 'components/post/entry', 'header' ); ?>
<div class="entry-content">
<?php do_action( 'memberlite_before_content_post' ); ?>
Expand Down
2 changes: 1 addition & 1 deletion components/post/content-link.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'entry-header-grid' ); ?>>
<?php get_template_part( 'components/post/entry', 'header' ); ?>
<?php
$memberlite_get_entry_meta_after = memberlite_get_entry_meta( $post, 'after' );
Expand Down
2 changes: 1 addition & 1 deletion components/post/content-single.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<article id="post-<?php the_ID(); ?>" <?php post_class( ); ?>>
<div class="entry-content">
<?php // NOTE: The title is generated in header.php via the memberlite_page_title() function found in functions.php ?>
<?php do_action( 'memberlite_before_content_single' ); ?>
Expand Down
2 changes: 1 addition & 1 deletion components/post/content-video.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*/
?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'entry-header-grid' ); ?>>
<?php get_template_part( 'components/post/entry', 'header' ); ?>
<div class="entry-content">
<?php do_action( 'memberlite_before_content_post' ); ?>
Expand Down
2 changes: 1 addition & 1 deletion components/post/content.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<?php global $memberlite_defaults; ?>

<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'entry-header-grid' ); ?>>
<?php get_template_part( 'components/post/entry', 'header' ); ?>

<div class="entry-content">
Expand Down
7 changes: 5 additions & 2 deletions components/post/entry-header.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,11 @@

<header class="entry-header">
<?php if ( 'post' == get_post_type() ) : ?>
<?php $author_id = $post->post_author; ?>
<div class="post_author_avatar"><?php echo get_avatar( $author_id, 80 ); ?></div>
<?php
$author = get_userdata( $post->post_author );
$memberlite_avatar_size = apply_filters( 'memberlite_avatar_size', 80 );
?>
<div class="post_author_avatar"><?php echo get_avatar( $author->ID, $memberlite_avatar_size, '', $author->display_name ); ?></div>
<?php endif; ?>
<?php the_title( sprintf( '<h1 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h1>' ); ?>
<?php if ( 'post' == get_post_type() ) : ?>
Expand Down
2 changes: 0 additions & 2 deletions css/bbpress.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ body.reply-edit .reply {
#bbpress-forums li.bbp-header,
#bbpress-forums li.bbp-footer {
font-weight: bold;
font-family: 'Lato', sans-serif;
font-weight: 400;
padding: 1rem;
text-align: center;
Expand Down Expand Up @@ -581,7 +580,6 @@ td.bbp-topic-counts {
margin: 0 0 4rem 0;
}
#bbpress-forums fieldset.bbp-form legend {
font-family: 'Lato', sans-serif;
padding: 5px;
}
#bbpress-forums fieldset.bbp-form label {
Expand Down
2 changes: 0 additions & 2 deletions css/editor-style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ body#tinymce.wp-editor select,
body#tinymce.wp-editor textarea,
body#tinymce.wp-editor .btn {
color: #404040;
font-family: 'Lato', sans-serif;
font-weight: 400;
font-size: 16px;
line-height: 1.8rem;
Expand Down Expand Up @@ -48,7 +47,6 @@ body#tinymce.wp-editor table {
width: 100%;
}
body#tinymce.wp-editor th {
font-family: 'Lato', sans-serif;
font-weight: 400;
padding: 1rem;
}
Expand Down
6 changes: 5 additions & 1 deletion css/theme-my-login.css
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,11 @@
#secondary .widget_theme_my_login h3.widget-title {
background: none;
border: none;
margin-bottom: .9rem;
padding: 0;
}
#secondary .widget_theme_my_login ul li {
#secondary .widget.widget_theme_my_login ul li,
#secondary .widget.widget_theme_my_login ul.menu li {
border: none;
margin: 0;
padding: 0;
Expand All @@ -126,6 +128,8 @@
}
.tml.tml-user-panel .tml-user-links {
grid-area: user-links;
list-style: none;
margin-left: 0;
}
.tml.tml-user-panel nav {
grid-area: nav;
Expand Down
2 changes: 0 additions & 2 deletions css/woocommerce.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/
.woocommerce #content input.button, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce-page #content input.button, .woocommerce-page #respond input#submit, .woocommerce-page a.button, .woocommerce-page button.button, .woocommerce-page input.button, .woocommerce #content input.button.alt, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce-page #content input.button.alt, .woocommerce-page #respond input#submit.alt, .woocommerce-page a.button.alt, .woocommerce-page button.button.alt, .woocommerce-page input.button.alt {
color: #404040;
font-family: 'Lato', sans-serif;
font-weight: 400;
font-size: 16px;
font-size: 1.6rem;
Expand All @@ -30,7 +29,6 @@
color: #FFF !important;
cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
/* -webkit-appearance: button; Corrects inability to style clickable 'input' types in iOS */
font-family: 'Lato', sans-serif;
font-size: 16px;
font-size: 1.6rem;
font-style: normal;
Expand Down
4 changes: 2 additions & 2 deletions font-awesome/css/all.min.css

Large diffs are not rendered by default.

Binary file modified font-awesome/webfonts/fa-brands-400.eot
Binary file not shown.
Loading

0 comments on commit dc66276

Please sign in to comment.