Archived topic
Fill in html in the post template without hard coding
9 replies · Started by Markus on February 28, 2023
Hello there,
I´m running a page for a podcast. I want to have a field (see in picture) where all the Links to the different platforms are listed - using the logos as the button.
Is there a possibility to do that with the theme features fe "Elements"?
Thank you beforehand for your help
https://100malmusiklegenden.de/2023/02/26/zombie-the-cranberries/

Hi there,
are those links for the different platforms for that podcast ?
If so where is that data coming from ?
Yes, they should go to Spotify, Deezer, ApplePodcast ... I take them from the platforms.
I assume that each of those links will be specific to that podcast. If so, where are those links stored ?
Having worked with Castos before, I know there plugin handles this kind of thing.
Let me know
I don´t have the problem with these links. What I would like to do is insert a funnel under each Post with the links - as you see in the picture. The html for that funnel is probably also not a problem. Question is, if I can insert this over elements in the Theme or do I have to do hard coding?

That´s an example for a funnel
So the Podcast Player, that is in the content of the post.
Is that manually added to the post editor ?
Yes. I make a post for every episode
OK, so there are no hooks in the post content, so you cannot add content there using Elements.
It is possible to use the_content filter hook with some PHP to insert content. But i am not sure if this would be benefit to you.
Okay, so hard coding is the best. Right?