cleans up read more text

This commit is contained in:
Brian Coords 2021-11-22 20:46:39 -08:00
parent 8e7196ae88
commit 25a0a049b2
1 changed files with 1 additions and 1 deletions

View File

@ -277,7 +277,7 @@ if ( ! function_exists( 'understrap_all_excerpts_get_more_link' ) ) {
$post_excerpt = $post_excerpt . ' [...]<p><a class="btn btn-secondary understrap-read-more-link" href="' . esc_url( get_permalink( get_the_ID() ) ) . '">' . __(
'Read More...',
'understrap'
) . '</a><span class="screen-reader-text"> ' . get_the_title( get_the_ID() ) . '</span></p>';
) . '<span class="screen-reader-text"> from ' . get_the_title( get_the_ID() ) . '</span></a></p>';
}
return $post_excerpt;
}