Archived topic
Block for Contenttemplate wont work for Singlepost
2 replies · Started by Markus on June 4, 2022
HI, i want overwrite the Single Post Content Layout.
I use Elements, create a Block, choose Element type "Content Template" in the sidebar.
When i use it on a normal Page it will overwrite the Content, but for Single Post and All Post it will not working.
What can i do ?
Thank you
I has delete the Single.php in my childtheme. Know it works. -..
Hi there,
glad to hear you found the issue.
For some info: if you check in the themes single.php you will see the generate_do_template_part inside the loop:
Its that function that GP Elements uses to switch out the content template. So if that exists in your child theme template then it would work :)