I’m looking for a good piece of tutorial content on how to build template that renders Single Pages that have been built in Bricks. Most step through how to build a Single Post template & then say the same applies to Pages.
My issue is that the Page Content built in Bricks does note display on the front-end when the “Post Type > Pages” template condition is set. This template setting only outputs the Header & Footer.
I’ve build a couple of Bricks pages and I can display the content on the front-end with a template that has the template setting: Individual with the pages included in the setting.
I was after a template that automatically displays Bricks Pages, surely having to list each page you build in Bricks, individually in the template conditions is not the best option.
I could also get the content displaying with template condition “Front Page”
It would be good to see some best-practice content on building Page Templates to display Bricks Pages.
Any advice on resources on this topic or explaining why “Post Type > Pages” template condition doesn’t render Bricks content on the front-end would be greatly appreciated.
It sounds like you are trying to build pages with templates. A template is something you want to use to display the same/similar content in multiple places. Plus you can’t have multiple templates set as Post Type: Pages. Only one template can be used for that.
If each page is different, create the pages normally and then select edit with Bricks.
I wouldn’t have thought you needed a template for pages & this wasn’t the case on a fresh install. I think my issue was related to the fact that I had forgotten that I originally made a “catch-all page template” for WordPress page content.
I did this because I found that my existing Gutenberg pages had no margin between the copy & the Bricks footer.
So I created a template in Bricks to add a margin to the bottom of the container that had the Post Content element, which was set to pull in WordPress Page content ( at the exclusion of Bricks).
I’m best deleting that Bricks Template, because this approach is overkill. I’ll just add a margin to the WordPress class.