Hey there,
I’m trying to customize the display of the Sermon Manager plugin to let me display all my sermons, series, and archives through Loopers in Cornerstone, but I’m having some issues finding the Sermon Series image.
If I’m reading the source code right, the sermon image is typically returned using the function get_sermon_image_url()
and that loops through several images associated with the post and returns the most appropriate one.
I tried creating nested loopers, one provider looping through the “Sermon” post type and the inner provider looping through current post terms according to the “Sermon Series” taxonomy, and I can successfully return series titles, urls, etc., but I can’t seem to find the meta key for the series image. I’ve tried using image_id
, based on the above linked source code, but that just returns nothing.
I know this is probably beyond the scope of Themeco help, but I’d really appreciate any tips you could give me on how to return this via loopers!