Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Robin Cornett

    (@littlerchicken)

    If you want to completely remove the link back to your post, I think the easiest way to do it would be to add this filter to your theme’s functions.php file, or wherever you put this kind of code:

    add_filter( 'send_images_rss_excerpt_read_more', '__return_false' );

    (Make sure you have a backup, practice safe code, etc. etc.) Hope that helps!

    The code removes the link at the bottom of the excerpt BUT, will a “read more” be present if you’ve inserted a “read more” tag just after the excerpt in the blog?!

    I’ve added the above line of code to a plugin that allows me to add to the functions.php file – https://www.ads-software.com/plugins/functionality/

    The problem is, I can still see the “read more” link above the link button I’ve added in Mailchimp – https://us2.campaign-archive1.com/?u=682206a04d8b0fe55e7b52f9c&id=fc4cd7a02d&e=34a0c95e95

    Any ideas?!

    Thank you.

    Plugin Author Robin Cornett

    (@littlerchicken)

    @wilkymetal, I’m not able to replicate what you’re seeing on my end. Your feed is not showing a read more link at all, and the duplicate (first) link in your email has markup that I do not see on your site or in your feed. I’ve tried multiple variations with a manual read more tag on my end, and cannot get a similar “read more” link to appear.

    Can you double check your MailChimp template? Another thought is that you have code, possibly in your functionality plugin, which is modifying the read more link for both your site and your feed, but since I’m not seeing the link in the feed, I’m inclined to look at the MailChimp template instead.

    Thank you Robin,

    The link to the blog item is here – https://www.computamedic.co.uk/blog
    I’m doing a Mailchimp RSS triggered email to subscribers and I’m using a Read More button module. For this reason, I don’t want to have a text version of Read More because it’s unnecessary and looks unprofessional.

    The functionality plugin has only got one line on it, which is:
    add_filter( ‘send_images_rss_excerpt_read_more’, ‘__return_false’ );
    I wanted to add the code without adding anything to the core theme so I chose the plugin but there is no other code in it.

    Does that help with analysing the problem?

    Thank you.

    Looking at it more, it’s probably better to leave the RSS Read More in the post just incase people are actually using the RSS feed with an RSS reader.

    So, I’ve decided to leave the link back to the blog post in the RSS feed but actually have it displayed as the title of the blog post. This means, it will still be present but won’t look duplicated in the Mailchimp notification.

    Thanks Robin!

    Plugin Author Robin Cornett

    (@littlerchicken)

    I’m glad you’ve got a solution which works for you–just please double check the template in MailChimp, because I did not see that first “read more” link in the raw feed data at all when I looked; my concern is that it might be in the MailChimp template, since I didn’t see it in the feed. If it’s previewing correctly, though, all is well!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove link at bottom of feed’ is closed to new replies.