Dynamically Query Happy Files Folder?

Edit - Since I am a new user I can only add one image. So I had to add them below this thread.

I seem to be unable to query a folder from Happy Files dynamically. I can select the folder statically, and the query works fine. However, I hope that when you land on a local service page, a services slider will change based on the Happy Files folder this custom post is in.

  • In the screenshot above, I have organized services based on Location folders
  • I am hoping to use a ‘service slider’ that only queries the location folder dynamically

It’s easy for me to understand how to query based on folder names, but not dynamically.

I should also mention these pages have an ACF field called ‘location’. I can’t seem to query this custom field either. I should mention this custom field is set to the service pages so I believe I should be able to access this field.

I also tried Taxonomy Query via the ACF location field, but this does not work.

  • For some reason it won’t work to query the Location category ACF, but it does work if I statically type the location.

  • This works (statically typing the location)

  • However, I need this location to come in dynamically


  • The ACF field for ‘location’ is set to a select. And the choices are set to the locations.
  • This custom field is this set to display on the service page.

Im new to Bricks and ACF, so If you see anything where I don’t have the logic, or if it’s possible to query a folder dynamically?

I see how you can select the folder, but how can I do this dynamically?

I can get it to work by either statically selecting the folder, or statically typing the name, but not dynamically

Trying to use a custom field does not work either. Even though the custom field is available and set to the custom post type.

Why has no one answered this question yet? Curious about this as well. Seems like this question has been sitting for quite some time. Do you guys respond to these?