Permalink in the Podlove template

Hi @all,

I want to insert the permalink automated into the RSS / Atom feed. My problem is, if I insert the

<?php the_permalink(); ?>

tag into the Podlove template editor, wordpress gives out a url like this;%20?%3E

How can I fix it?

You can’t use PHP in those templates. You need to use Twig Syntax. Have a look at the available Episode tags. What you are looking for is {{ episode.url }}.

Thank’s! I will try it.
Edit: Work’s fine!

<a href="{{ episode.url }}">Lorem ipsum Dolor</a>
1 Like