Skip to content

Commit 63898d5

Browse files
committed
Merge branch 'release/1.20.8'
2 parents 99dd153 + 835102b commit 63898d5

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

inc/template-tags.php

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -598,21 +598,24 @@ function siteorigin_north_strip_image( $content ) {
598598

599599
if ( ! function_exists( 'siteorigin_north_archive_post_content' ) ) {
600600
/**
601-
* Outputs the post content or excerpt based on thheme settings, and whether
601+
* Outputs the post content or excerpt based on theme settings, and whether
602602
* the post is singular.
603603
*/
604604
function siteorigin_north_post_content() {
605605
$read_more_text = ! empty( siteorigin_setting( 'blog_read_more_text' ) ) ? siteorigin_setting( 'blog_read_more_text' ) : __( 'Read More', 'siteorigin-north' );
606606

607-
if ( is_singular() || siteorigin_setting( 'blog_post_content' ) == 'content' ) {
607+
if (
608+
is_singular() ||
609+
siteorigin_setting( 'blog_post_content' ) == 'content'
610+
) {
608611
the_content( $read_more_text );
609612
return;
610613
}
611614

612615
the_excerpt();
613616

614617
if ( siteorigin_setting( 'blog_excerpt_post_link' ) ) { ?>
615-
<a href="<?php esc_url( get_the_permalink() ); ?>" class="more-link">
618+
<a href="<?php echo esc_url( get_the_permalink() ); ?>" class="more-link">
616619
<?php echo esc_html( $read_more_text ); ?>
617620
</a>
618621
<?php

readme.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ Original design files are available on [Google Drive](https://drive.google.com/f
104104

105105
== Changelog ==
106106

107+
= 1.20.8 - 4 December 2024 =
108+
* Resolved Read More button linking when Archive Post Content set to Post Excerpt.
109+
107110
= 1.20.7 - 22 November 2024 =
108111
* WooCommerce: Improved cart action button spacing.
109112
* Author Archive: Adjusted the title spacing if a bio is set.

0 commit comments

Comments
 (0)