Display WP-Post edited with Bricks

Hi, I’m a relative beginner with Bricks and work in a small NGO. I want to create a page (historical events) as WP-posts but design and edit them with Bricks. All posts in Bricks-Laoyut should be displayed on one page one after each other (similar to an archive page). But they sould “use” the individual (Bricks) layout/style.
How can I achieve this?
If I build a “normal” loop I get the post data, but not the layout of the (bricks) post.
Thanks for your help.
regards

Hi Chris,
Welcome to the forum!

Use the post content element with source = Bricks in your loop to render the Bricks content.

Best regards,
timmse

Hey, thank you very much. But i can not find the source “Bricks”.
I use “Posts” as type and a custom-post-type “Post-Bricks” as Post-Type.

Aah, sorry. You’re not using a template but editing the page directly, right?
In this case, you can’t change the source.

However, you can create a “Single” type template, add the loop and the post content element, and change the source. Now, you just need to add a Condition „Individual" to the template and select the Historical Events page.

The template:

The “Individual” template condition that applies this template to “Sample Page” in my case:

That works. Thank you very much !!!

1 Like