For some reason, the “Read more” tag at the end of post excerpts is now repeating the title. So, instead of “… Read more” (linked), it says, “… Read moreTitle of the Post Here”.
This doesn’t happen elsewhere on the site, so it seems to be something in Newsletter causing it. It didn’t used to happen, and I didn’t change the custom theme we’re using.
The posts section is set up like this:
<?php foreach ($postsfaux as $post) {
setup_postdata($post);
?>
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>">
<img src="<?php echo newsletter_get_post_image($post->ID, 'thumbnail'); ?>" align="right" style="margin-left:7px;"></a>
<h2 style="color: #202020;font-family: Arial;font-size: 20px;font-weight: bold;margin-top: 0;margin-bottom: -12px;">
<a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a>
</h2>
<div style="color: #505050; font-family: Arial; font-size: 14px; line-height: 140%;">
<?php the_excerpt(); ?>
</div>
<?php } ?>
I tried replacing <?php the_excerpt(); ?>
with <?php if (isset($theme_options['theme_excerpts'])) newsletter_the_excerpt($post); ?>
, as I’ve seen in other theme files, but this shows only the excerpt, and no “read more” tag.
Please help. Thanks!