• Resolved linkhousemedia

    (@linkhousemedia)


    Hey there,

    I’m currently using this to try and load up a different image for the podcast episodes. Apple requires 1400×1400 for episodes or they’re ignored so I want this to be custom (ie. not, my episode featured image):

    add_filter('ssp_episode_image', 'episode_image');
    function episode_image($image, $id){
    
            //Advanced custom field used for custom image. Get the URL.
    	$new_image = get_field('episode_image',$id);
    
    	return $new_image ? $new_image : $image;
    
    }

    This isn’t working. My feed shows the featured image no matter what. Not cached.

    Any ideas?

    https://wordpress.org/plugins/seriously-simple-podcasting/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Hugh Lashbrooke

    (@hlashbrooke)

    Hi there,

    I have been largely offline for the last few months and have been unable to help out all of this plugin’s awesome users in this forum. I’m sorry if this has inconvenienced you!

    As a result there are a large number of questions here that I just don’t have the time to answer effectively. There’s also a very good chance that the majority of them are no longer valid as it has been quite a while since they were posted.

    With that in mind, I’m going to close all of them (including this one), so if you still require support then please create a brand new topic and I will respond on there going forward, as I have time to do so.

    Thanks for your understanding!

    Cheers,
    Hugh

    Thread Starter linkhousemedia

    (@linkhousemedia)

    If you could re-open this that would be great. The forum isn’t letting me re-post it for some reason. Thanks!

    Plugin Contributor Hugh Lashbrooke

    (@hlashbrooke)

    The ssp_episode_image filter does not affect the feed – it only works when using the get_image() function to fetch the image for display. In fact, there is no filter for the episode image in the RSS feed, but I think I should definitely add one for the next patch release!

    I’ll get on that ASAP 🙂

    Cheers,
    Hugh

    Thread Starter linkhousemedia

    (@linkhousemedia)

    Thank you! That would be great. I definitely don’t want a square used for my featured image on the theme. Of course I could let wordpress crop things on the front end (which will be a good workaround for now actually).

    Thanks for the awesome plugin and sorry about the duplicate posts.

    Plugin Contributor Hugh Lashbrooke

    (@hlashbrooke)

    I have just published v1.14.10 of this plugin that includes (amongst other things) filters for all tags in the RSS feed. The one of particular interest to you here would be ssp_feed_item_image.

    I’ll document all of these filters at some point when I have time to do so, but you can find them all in the feed template file in the latest release 🙂

    If this has helped you then it would be great if you could support continued development of the plugin by leaving a review 🙂

    Cheers,
    Hugh

    Thread Starter linkhousemedia

    (@linkhousemedia)

    Beautiful! Thanks so much, Hugh! Will leave a review for sure.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘ssp_episode_image Filter’ is closed to new replies.