Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 96580

AMEEKER on "Remove "Continue Reading" from echoed get_the_excerpt"

$
0
0
echo '<div class="entry-content">
				<p><div class="entry-content"></div>';
				$my_excerpt = get_the_excerpt('');
				echo $my_excerpt;
				echo '<div class="entry-terms">' , do_shortcode('[post_terms taxonomy="totd_tags" before="See Articles Related To " taxonomy="totd_tags"] '), '</div>' ;
		echo '</p></div>

I'm echoing the excerpt on a custom post type but need to remove the "Continue Reading" from the single post on those pages (because of course, that "Continue Reading" just links to the same post). The code above is what I'm using in the single-post-type.php.

I need it to stay on the archives for that post type.


Viewing all articles
Browse latest Browse all 96580

Trending Articles