Hi,
the code i created for you only enables the RSS feeds for the “advert” Custom Post Type, the feed itself is generated by WordPress.
As far as i know recently the WP did not have any changes to how the feeds work, so if you had images in them, maybe it was some other WP plugin doing it or maybe the MailChimp changed how the feeds are handled?
Hi Greg,
Thanks for the reply. The issue that we are seeing is only with the Adverts Feed. All the other feeds are functioning as normal. They include an image in the content and the content is showing. When I check the Adverts feeds code, I can’t see the image in the content… Are you saying that Adverts doesn’t have control on what it has in its feeds?
Noel
Hi,
i am saying WPAdverts does not generate them on its own, WordPress does it based on params used in register_post_type() function when registering “advert” post type.
Do you have the featured images enabled for the “advert” Custom Post Type? If not then most likely this is why the image tag is not included.
If you are not sure how to check it go to wp-admin / Classifieds panel edit one of the Ads and see if in the right sidebar there is a Featured Image widget.
Also are you sure you are not using any plugin for the images in RSS feed? because as far as i know WordPress does not add image link to the feed automatically.
If you could paste a link to the page where you are having this problem it would be helpful.
Hi Greg,
We have a plugin to add the image to our standard RSS feeds. This is working for all of our other feeds except for those generated by WPAdverts. All of the other feeds are showing image and content as expected.
Noel
Hi,
you would need to check with the plugin support what is required for a Custom Post Type to have an image tag displayed in the feed and let me know.
Sorry Greg, having posted good news, my staff were on to say it was still not working. I will get back to you with more details a bit later today.
we’ve done it… We used Featured Images in RSS Feeds plugin… paid for version… the settings
Use first image in body in RSS feed Enable first image
Media Tag Enable media tag images
Just in case anybody has the same issue.
-
This reply was modified 5 years, 8 months ago by
Noel Kelly.