Paul
Forum Replies Created
-
Forum: Plugins
In reply to: [Send Images to RSS] Excerpt length at 30 words isn't workingHi Robin,
I’ve pasted that code into the theme functions.php but it doesn’t seem to be working or having the desired affect.
However, I did comment out the lines you suggested in the files you suggested – this has worked!
Thank you very much!
Forum: Plugins
In reply to: [Send Images to RSS] Excerpt length at 30 words isn't workingHi Robin,
I’m now using the Excerpt function in WordPress BUT, now I get a “Read More” link where I have placed the “Read more tag” on the blog!When it goes through my RSS-to-email Mailchimp campaign, I get a “Read More” link, a link that is named the same as the post title and a “Read More” CTA Button module.
Is it possible you can tell me how to remove the first “Read More” link that looks as if it is coming from the “Read More Tag” within the post?!
https://www.computamedic.co.uk/blog/ – blog excerpts
https://www.computamedic.co.uk/feed/rss2/ – Feed link
https://us2.campaign-archive2.com/?u=682206a04d8b0fe55e7b52f9c&id=4bbadb4d7b&e=34a0c95e95 -RSS-to-email CampaignThank you.
Forum: Plugins
In reply to: [Send Images to RSS] Excerpt length at 30 words isn't workingHi Robin,
Looking at the code again, I’m sure the plugin is having trouble excluding bullet lists.If I look at other posts in the feed, all the posts without bullet lists look ok and the posts with bullet lists don’t seem to be rendering the excerpt length.
Could something like this work?!
add_filter( 'send_images_rss_allowed_tags', 'prefix_add_allowed_tags' ); function prefix_add_allowed_tags( $tags ) { $tags .= '<h3>, <ol>, <li>'; return $tags; }
Or some other way to include multiple tags in the filter?
Thanks.
Forum: Plugins
In reply to: [Send Images to RSS] Excerpt length at 30 words isn't workingHi Robin,
Thank you very much for the advice – I think I’m going to go with adding the filter so to include the h3 tags.
Just to confirm, I add this code to the functions.php?!
If so, I’ve applied it now and I’ll let you know how it goes!
Thanks again!Forum: Plugins
In reply to: [Send Images to RSS] Remove link at bottom of feedLooking 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!
Forum: Plugins
In reply to: [Send Images to RSS] Remove link at bottom of feedThank 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.
Forum: Plugins
In reply to: [Send Images to RSS] Remove link at bottom of feedThe 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.