ce4668a5 by Jeff Balicki

post_excerpt fix

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 8a614988
...@@ -247,8 +247,12 @@ if ( ! function_exists( 'understrap_all_excerpts_get_more_link' ) ) { ...@@ -247,8 +247,12 @@ if ( ! function_exists( 'understrap_all_excerpts_get_more_link' ) ) {
247 // return $post_excerpt . ' [...]<a class="understrap-read-more-link" href="' . $permalink . '">' . __( 247 // return $post_excerpt . ' [...]<a class="understrap-read-more-link" href="' . $permalink . '">' . __(
248 // ' Read More', 248 // ' Read More',
249 // 'understrap' 249 // 'understrap'
250 // ) . '<span class="screen-reader-text"> from ' . get_the_title( get_the_ID() ) . '</span></a>'; 250 // ) . '<span class="scr{een-reader-text"> from ' . get_the_title( get_the_ID() ) . '</span></a>';
251 return $post_excerpt."... "; 251 if($post_excerpt == ""){
252 return $post_excerpt;
253 }else{
254 return $post_excerpt."... ";
255 }
252 256
253 } 257 }
254 } 258 }
......