Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
MSF
/
msf-climate-hub
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ce4668a5
authored
2023-09-01 19:11:02 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
post_excerpt fix
Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent
8a614988
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
wp-content/themes/msf-child/inc/extras.php
wp-content/themes/msf-child/inc/extras.php
View file @
ce4668a
...
...
@@ -247,8 +247,12 @@ if ( ! function_exists( 'understrap_all_excerpts_get_more_link' ) ) {
// return $post_excerpt . ' [...]<a class="understrap-read-more-link" href="' . $permalink . '">' . __(
// ' Read More',
// 'understrap'
// ) . '<span class="screen-reader-text"> from ' . get_the_title( get_the_ID() ) . '</span></a>';
return
$post_excerpt
.
"... "
;
// ) . '<span class="scr{een-reader-text"> from ' . get_the_title( get_the_ID() ) . '</span></a>';
if
(
$post_excerpt
==
""
){
return
$post_excerpt
;
}
else
{
return
$post_excerpt
.
"... "
;
}
}
}
...
...
Please
register
or
sign in
to post a comment