• Resolved bobbybosler

    (@bobbybosler)


    Greetings,

    I am customizing the output of my sermon pages and excerpts, and am trying to figure out the best way to do what I want to do. To cut to the chase, is there a way in my php template that I can explicitly return the series image url, as opposed to the sermon image? I’m trying to insert that url into a background-image inline style, but I’m having trouble returning the url. Here’s what I’ve got in my function:

    <div class="wpfc-sermon-single-inner" 
                <?php 
                $seriesimageurl = get_sermon_series_image_url();
                echo "style=\"background-image:url('" . $seriesimageurl . "');\"";
                ?>>
    • This topic was modified 7 years, 10 months ago by bobbybosler.
    • This topic was modified 7 years, 10 months ago by bobbybosler.
    • This topic was modified 7 years, 10 months ago by bobbybosler.
Viewing 1 replies (of 1 total)
  • Hi there!

    We will publish an update soon, which will include the functionality that you want.

    You’ll just need to use get_sermon_image_url( true, 'post-thumbnail', true );, but please wait until we release 2.13.0, tomorrow.

    Thank you for your patience.

Viewing 1 replies (of 1 total)

The topic ‘Get Series Image’ is closed to new replies.