This is a huge bug: I just tried to add my first “single” template with condition set to post type post. I also tried “entire website”. But it is not working and it is very strange… It does not overwrite the default template from the theme – no matter what I try. I need this to work asap since I am not able to keep working on the theme. Tried to disable plugins – doesn’t work either.
Here are two settings that I tried. Even when I choose “entire website” it keeps loading the default – But ONLY in the single post view, everywhere else the template loads.
If you can’t reproduce it, I could upload the site.
It is the only “single” template that exists. I also tried adding a new one – but no luck.
btw I even tried removing single.php from the bricks main template – but it then just loads index.php from the bricks theme directory instead of my template
Plus as I said I disabled ALL plugins and tried to switch to the bricks main theme instead of child theme – and still no luck
I am really sorry because unable to replicate it.
If you could upload it on a staging site, please send a temp admin login details to help@bricksbuilder.io together with this forum link.
I would be happy to help from there.
Nevertheless, @aslotta also raised a good point, please check if the template type is Single.
When navigating to your single post, Bricks calculated that this archive template has the highest scores and tried to use this template to render in the front end.
At the same time, your Archive template is empty (no container no element at all
that’s a little bit confusing to me. Why is it called “archive” Template, if a single layout is allowed trying to use it and it is even prioritised? Maybe I just understood this wrong or maybe it would be something to improve for UX? Just an idea, through I learned and will be aware of this behaviour next time.
Also, I do not agree this is not a bug because on localhost strangely it does not work. I even deleted the archive AND removed it from trash and it still shows the default template. These are all my templates and I am pretty sure that “Single Blog Post” SHOULD be used. Also I am not able to populate the content with posts – just pages – even though I set post type to “posts”.
I am trying to put bricks on top of a theme we had installed before. It has assigned php template in the database - and those won’t render with a bricks template no matter the condition. What is the method for overriding that? I assume because if render with bricks setting - but I have thousands of pages like this. What is the db entry to change in bulk to set them to render with bricks?