Selaa lähdekoodia

Use hellip and add is_admin check.

Jeff Ong 4 vuotta sitten
vanhempi
commit
e938b544ad
1 muutettua tiedostoa jossa 4 lisäystä ja 1 poistoa
  1. 4 1
      spearhead/functions.php

+ 4 - 1
spearhead/functions.php

@@ -223,7 +223,10 @@ function spearhead_more_link() {
  * Use this instead of the default WordPress ellipsis which is […].
  * Use this instead of the default WordPress ellipsis which is […].
  */
  */
 function spearhead_excerpt_more() {
 function spearhead_excerpt_more() {
-	return '…';
+	if ( is_admin() ) {
+		return $more;
+	}
+	return '…';
 }
 }
 
 
 function spearhead_the_excerpt( $excerpt ) {
 function spearhead_the_excerpt( $excerpt ) {