The page created with Bricks is not visible in the frontend.

I created a new page with Bricks, in the preview everything looks correct, but when I view it on the frontend, only the WP content is displayed and not the Bricks content.


The page is structured simply: there is a container for WP content, a container for a button with custom php code, and finally a container that displays the related posts with a simple query.
I also tried creating a template in Bricks and importing the model, paying attention to the display conditions in the settings.

Is there anyone who can help me understand how to solve this problem, thank you.

I identified the problem, I had set the display conditions only in the Theme Style and not in the Template Setting.
bricks2
Once set in the Template Settings, the content of the bricks is now displayed on the frontend.

But I still have a problem with the custom php code created in the template.
In the frontend, the code is not executed but displayed as text.


The custom code work fine in preview but is not showing in the frontend

I understood the mistake, I hadn’t run the button code in the template; once I did that and reinserted the template into the builder, the button works in the frontend as well.