removing default excerpt text from helper function being used to allow
authorAnthony Talarico <talarico@gaslightmedia.com>
Fri, 16 Dec 2016 13:44:56 +0000 (08:44 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Fri, 16 Dec 2016 13:44:56 +0000 (08:44 -0500)
html tags in the excerpt

lib/excerpt.php

index 81c39bd..9d1e858 100644 (file)
@@ -44,7 +44,7 @@ if ( ! function_exists( 'wpse_custom_wp_trim_excerpt' ) ) :
 
             $wpse_excerpt = trim(force_balance_tags($excerptOutput));
 
-                $excerpt_end = ' <a href="'. esc_url( get_permalink() ) . '">' . '&nbsp;&raquo;&nbsp;' . sprintf(__( 'Read more about: %s &nbsp;&raquo;', 'wpse' ), get_the_title()) . '</a>';
+                $excerpt_end = ' <a href="'. esc_url( get_permalink() ) . '">' . '&nbsp;&raquo;&nbsp;' . sprintf(__( ' ', 'wpse' ), get_the_title()) . '</a>';
                 $excerpt_more = apply_filters('excerpt_more', ' ' . $excerpt_end); 
 
                 //$pos = strrpos($wpse_excerpt, '</');