Support » Plugin: WP RSS Images » [Plugin: WP RSS Images] Filterable/Hookable way of modifying behavior

  • It would be useful if this plugin had a filter or hook in the ‘wp_rss_img_url()’ function which could allow developers to add more ways in which an image might appear in relation to a post. There are tons of non-standard ways this happens, such as through hero image plugins, simplefields plugin, or other meta data.

    For our use at Sears I’ve had to make a small edit to the plugin to make it check for meta data generated by using SimpleFields. No big deal but I hate to have to branch other people plugins.

    Btw, good job with this plugin. As simple as you would think this is, none of the other plugins supposedly doing this seem to work quite right.

Viewing 1 replies (of 1 total)
  • Simon Wheatley


    Code for the People

    I have the same issue, Eddie, so I’ve created a proposal to add two filters to the plugin and I hope that Alain will consider incorporating these (or similar) into the plugin. 🙂

    The proposed wp_rss_image_size filter allows devs to change the image size used for the featured image (currently hard-coded as medium).

    The proposed wp_rss_image_alternative filter allows devs to completely override the image finding method built into the plugin (which would be useful for you, I think, Eddie).

    The patch/diff is here:
    If you want the complete altered file, it’s here:
    Here’s some examples of using the proposed filters:

    Alain, I hope this is something you can consider putting into your plugin. Let me know if there’s anything I can do to help.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP RSS Images] Filterable/Hookable way of modifying behavior’ is closed to new replies.