Explorar el Código

Overwrite posts pagination template tag.

Jeff Ong hace 4 años
padre
commit
a1e1361dc7
Se han modificado 1 ficheros con 9 adiciones y 1 borrados
  1. 9 1
      spearhead/functions.php

+ 9 - 1
spearhead/functions.php

@@ -226,7 +226,6 @@ function spearhead_excerpt_more() {
 	return '…';
 	return '…';
 }
 }
 
 
-
 function spearhead_the_excerpt( $excerpt ) {
 function spearhead_the_excerpt( $excerpt ) {
 	// For cases where the post excerpt is empty
 	// For cases where the post excerpt is empty
 	// (but the post might have content)
 	// (but the post might have content)
@@ -237,6 +236,15 @@ function spearhead_the_excerpt( $excerpt ) {
 	return $excerpt . '<span class="excerpt-more-link">' . spearhead_more_link() . '</span>';
 	return $excerpt . '<span class="excerpt-more-link">' . spearhead_more_link() . '</span>';
 }
 }
 
 
+/**
+ * Overwrite Seedlet's post navigation template tag.
+ */
+if ( ! function_exists( 'seedlet_the_post_navigation' ) ) :
+	function seedlet_the_post_navigation() {
+		return null;
+	}
+endif;
+
 // Filter the excerpt more link
 // Filter the excerpt more link
 add_filter( 'excerpt_more', 'spearhead_excerpt_more' );
 add_filter( 'excerpt_more', 'spearhead_excerpt_more' );