Skip to content

Commit

Permalink
Merge branch 'release/1.19.10'
Browse files Browse the repository at this point in the history
  • Loading branch information
Misplon committed Apr 17, 2022
2 parents ce30147 + 36d6f1e commit c9e6c68
Show file tree
Hide file tree
Showing 8 changed files with 3,542 additions and 376 deletions.
3,897 changes: 3,530 additions & 367 deletions inc/customizer/google-fonts.php

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions inc/extras.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function vantage_page_menu_args( $args ) {
* @since vantage 1.0
*/
function vantage_body_classes( $classes ) {
// Adds a class of group-blog to blogs with more than 1 published author
// Adds a class of group-blog to blogs with more than 1 published author.
if ( is_multi_author() ) {
$classes[] = 'group-blog';
}
Expand Down Expand Up @@ -109,7 +109,7 @@ function vantage_enhanced_image_navigation( $url, $id ) {

if ( ! function_exists( 'vantage_footer_widget_style' ) ) :
/**
* Add the styles to set the size of the footer widgets
* Add the styles to set the size of the footer widgets.
*/
function vantage_footer_widget_style() {
$widgets = wp_get_sidebars_widgets();
Expand All @@ -123,7 +123,7 @@ function vantage_footer_widget_style() {

if ( ! function_exists( 'vantage_excerpt_length' ) ) :
/*
* Filter the except length
* Filter the except length.
*/
function vantage_excerpt_length( $length ) {
return siteorigin_setting( 'blog_excerpt_length' );
Expand Down
2 changes: 1 addition & 1 deletion loops/loop-blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@

<?php get_template_part( 'no-results' ); ?>

<?php endif; ?>
<?php endif; ?>
2 changes: 1 addition & 1 deletion loops/loop-grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<div id="vantage-grid-loop" class="vantage-grid-loop grid-loop-columns-<?php echo siteorigin_setting( 'blog_grid_column_count' ) ?>">
<?php while ( have_posts() ) : the_post(); $i++; ?>
<article <?php post_class(array('grid-post')) ?>>
<article <?php post_class( array( 'grid-post' ) ) ?>>

<?php if ( has_post_thumbnail() && siteorigin_setting( 'blog_featured_image_type' ) !== 'none' ) : ?>
<a class="grid-thumbnail" href="<?php the_permalink() ?>">
Expand Down
4 changes: 2 additions & 2 deletions loops/loop-slider.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Just displays a slider loop. Intended to be included in child themes using get_template_part('loop', 'slider'). Also works with SiteOrigin page builder loop widget.
* Just displays a slider loop. Intended to be included in child themes using get_template_part( 'loop', 'slider' ). Also works with SiteOrigin Page Builder Post Loop Widget.
*
* Loop Name: Slider
*
Expand All @@ -25,7 +25,7 @@
</div>
</a>
</li>
<?php elseif( 'attachment' == get_post_type() && wp_get_attachment_image_src(get_post_thumbnail_id(), 'vantage-slide') ) : ?>
<?php elseif( 'attachment' == get_post_type() && wp_get_attachment_image_src( get_post_thumbnail_id(), 'vantage-slide') ) : ?>
<li class="slide">
<a href="<?php the_permalink() ?>">
<?php echo wp_get_attachment_image( get_the_ID(), 'vantage-slide' ); ?>
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ This theme makes use of the SiteOrigin Settings Framework contained in the /inc

== Changelog ==

= 1.19.10 - 17 April 2022 =
* Updated Google Fonts list.

= 1.19.9 - 27 February 2022 =
* WooCommerce: Link the single product title color to `Customize > Theme Design > Fonts > Page Title Color`.

Expand Down
2 changes: 1 addition & 1 deletion templates/template-full-notitle.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@
</div><!-- #content .site-content -->
</div><!-- #primary .content-area -->

<?php get_footer(); ?>
<?php get_footer(); ?>
2 changes: 1 addition & 1 deletion templates/template-full.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
</div><!-- #content .site-content -->
</div><!-- #primary .content-area -->

<?php get_footer(); ?>
<?php get_footer(); ?>

0 comments on commit c9e6c68

Please sign in to comment.