Use Block Visibility with ACF Option Field

[ad_1]

Hi there, I am very impressed by this plugin. But there is one thing I couldn’t get to work. I have an ACF Options page with a WYSIWYG field that contains a “hot info” Text.

I also have a checkbox “Show info on Frontpage” that is supposed to toggle the info on and off.

I then created that Info box and Added the “hot info” via Shortcode [acf field=”hot_info” post_id=”options”]

My idea was then to use Block visibility to query if “show_info” is set and display the block only if “show_info” is set to true on the options page.

This doesn’t seem to work. When I add the fields to the page itself, everything is fine. But it doesn’t seem to be able to get values from option pages. Is that true? Or is there something I am missing?

Thanks in advance for input on this

Regards
Anja

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer