Excerpt Display in Widget but NOT Upcoming page?
-
I modified my widget so that it pulls information differently. Such as:
<div class=”event”>
ID, ‘events_external_url’, true); ?>”><?php echo $post->post_title; ?>
ID, ‘events_external_url’, true); ?>”><?php echo $post->post_excerpt; ?>
</div>I added in the post_excerpt since I wanted to display the first line of the editor box. But since I do not believe I can limit it to the first line (cannot do characters as it will always be different amounts of characters) I went the excerpt route.
Worked great on the homepage, where this widget is displayed. However, on the upcoming page, it removed all of my content that is in the text editor & replaced it with a “read more” which I do not want. Is there a way to override the page so that it will still display the content only on the upcoming page rather than the read more link?
- The topic ‘Excerpt Display in Widget but NOT Upcoming page?’ is closed to new replies.