im relatively new to WP and bricks, i tried to solve this task for days but can’t do it:
I have ACF fields for entering partner companies
I want to have a single page for each company, after putting in the individual ACF data a new page should automatically be created (like ACF query loop) (just to view for the user, company does NOT have to have editing access or something)
until now i am just able to do query loops inside a block, with single post page template tutorials i didn’t get nowhere
just to tell you where i plan on going: later those company pages should get connected to single item pages and/or information pages (which should follow the same system) and pinned on an overview open street map
I realizied it worked when i put in the url for the post in the browser.
what irritated me though is that in the template editor it says ‘dynamic data empty‘ and ‘no post found’, and even in the bricks preview just the template title shows up
Is that normal?
edit: also is it necessary to set the ‘populate content’ below the ‘conditions’
There’s this option to load the data into it. Under the manage (gear icon left top) template settings, populate content
Should do the trick
For the template just showing the title, it needs to be designed. Not sure if you use just Wordpress fields or custom fields like acf but you should take like an text element and assign content to it.
Same for custom fields that can be loaded by dynamic data (lightning icon) you take an element to display in, and then assign whats needs to be in there.
thank you a lot for your help and explaning the basic stuff to me
i think what you described is what i am already doing.
i think i got it now and it seems to work like the following:
while in the template editor all dynamic data stays empty (‘dynamic data empty’ shown in the elements)
except when you populate it
without populating the ‘post title’ element shows the template title in the bricks preview
to populate the content you have to choose ‘single (post..)’ and then SEARCH for the post because it doesnt necessarily show up in the dropdown
when you delete the populate content, the content STAYS in the template editor and bricks preview, even after saving and refreshing (thats what also irritated me because to learn causataion i tend to delete the setting i think is responsible )
no matter if you populate it or not, if you put the post url into the browser it should work as soon as you set the condition