Aleš Sýkora / February 5, 2024 / 0 comments
Bricks Builder: ACF True/false in conditions
1 min read / Bricks Builder, Custom Code, Plugins, WordPress / Share on: Twitter, LinkedIn, Facebook
Post summary: If you want to use ACF True/False field in conditions for display/hide Bricks Builder modules you need to know something…
You must use your site language when using the true/false field. So this is how it looks in my (Czech) language:
When to use the True/False ACF field? I use this field so that the user can choose whether or not to display the featured image on the post page for example.
Can I get the ACF True/false field value within Bricks?
It was working in earlier versions of Bricks, and it returned the 0 or 1 as value with this declaration in curly brackets:
acf_featured_image_status:value
But nope, it is not working anymore.
Fuel my passion for writing with a beer🍺
Your support not only makes me drunk but also greatly motivates me to continue creating content that helps. Cheers to more discoveries and shared success. 🍻