Release 2.3.0 introduced the “Related Episodes” module. This feature might come in handy for some of us. Thanks for adding it!
I’m trying to implement this new feature into my template in a way that suits my needs. By default,
[podlove-related-episodes] only returns a list of the chosen, related episodes. To provide more context, I also added “Zugehörige Episoden:” to my template. This looks as follows:
1 Zugehörige Episoden: 2 [podlove-related-episodes]
My problem is obviously, that
Zugehörige Episoden: gets displayed, even if I didn’t specify any related episodes.
How can I set up my template in a way that line 1 only gets displayed if line 2 (
[podlove-related-episodes]) actually returns a list of episodes? Or the other way round: How can I hide
Zugehörige Episoden: if there are no related episodes?