• Resolved bbroerman

    (@bbroerman)


    Hi, first off thank you for creating this plugin. However, I have looked through the source code and the rss template file, and I cant seem to figure out a way to grab the featured image and place it inside it’s own tag. I am placing this rss feed pull on a home page and want to be able to manipulate the image and text separately. If that didn’t confuse you enough I want this:
    <featuredimage><img src=”asdf.jpg” /><featuredimage>
    <content:encoded>This is my content</content:encoded>
    If you can’t do this, I’m sure I can find a way to do it on the client side with javascript or something, however I thought this would be a cleaner solution. Thanks for the help!

    https://www.ads-software.com/plugins/featured-images-for-rss-feeds/

Viewing 1 replies (of 1 total)
  • Thanks for the thanks… unfortunately that’s a rather unique use case, and the plugin is doing very basic output of the featured image right before the normal RSS output generated by WordPress. You could customize the plugin code, to add <featuredimage> before the featured image output, and </featuredimage> after but before the RSS content… but it’s still within the content:encoded blocks, so parse it differently perhaps?

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Tag for Image’ is closed to new replies.