Anyone know if it’s possible to load a specific bricks (local) template from outside the WP environment? Basically like this:
We have a client account flow (php) that gets installed in the root of a site directory and gets a header/footer set up and skinned to match the WP design.
In that setup, is there a certain Bricks function I can run to load the main header template? Something to pull in the nav, etc and keep things in sync. Just need the structure, no problem custom css to match.
Trying to avoid using an ajax call to load in the main nav since that tends to be slower, and obviously dependent on js.
Thanks! I was able to get the shortcode approach working but only with WP_USE_THEMES = true (which make sense) but unfortunately that loads up ALL css/js assets which has major conflicts with the other environment. Really just trying to get the raw html of the template.
With the snip below I’m able to query and output “Header” as the title so I’m in the right place. the_content() is empty, so now I’m stuck again. Have looked through docs and can’t find anything. Was hoping for something like how you can call ACF data with something like “get_the_field()”. Maybe wishful thinking, but worth a shot asking