Great concept for employing conditional logic without PHP behind the scenes. Block Visibility is crazy powerful and totally amazing that it's a free one. I've been using it to exploit great desktop layouts that don't fly on mobile - the key thing is BV takes markup out of the DOM. Of course, that can be one of those double-edged swords... Thanks for the time on this one.
Great use case, Jonathan! Thank you for sharing this video! I love using ACF options pages to safely give clients control over basic parameters of their website. In the video you mention, that there are better/different ways to handle basic contact data like phone numbers, addresses, etc. Would you mind explaining why you prefer to not store this data on the options page and how you handle this on your sites?
I just put those directly inside my main templates because the information changes so seldom. Also because I use the block editor, you can use Patterns/Reusable Blocks for that kind of information, or in the case of GeneratePress you can use Elements and Hooks, all of which to me are a better experience than an options page
Great Jonathan. I wonder, how do you reference the Assacation Logo in the block editor or other places? In GenerateBlocks for instance I often use the Dynamic Data but it doesn't support the use of Options Page in Data Source!
I actually got the code for the logo on the options page from a premium GeneratePress snippet website by Taylor Drayson: snippetclub.com/set-logo-in-generatepress-from-acf-options-page/
he has risen.....
Dude, this is an epic example. You're totally right - I'm very limited by my imagination. This is a really cool example to get my wheels turning!
Glad to hear that dude!
+1 I'll add this to my Kyle-ish Starter Site ASAP. Thanks!
Great concept for employing conditional logic without PHP behind the scenes. Block Visibility is crazy powerful and totally amazing that it's a free one. I've been using it to exploit great desktop layouts that don't fly on mobile - the key thing is BV takes markup out of the DOM. Of course, that can be one of those double-edged swords... Thanks for the time on this one.
Agreed, it's amazingly powerful and also insane that it's totally free
Great use case, Jonathan! Thank you for sharing this video! I love using ACF options pages to safely give clients control over basic parameters of their website. In the video you mention, that there are better/different ways to handle basic contact data like phone numbers, addresses, etc. Would you mind explaining why you prefer to not store this data on the options page and how you handle this on your sites?
I just put those directly inside my main templates because the information changes so seldom. Also because I use the block editor, you can use Patterns/Reusable Blocks for that kind of information, or in the case of GeneratePress you can use Elements and Hooks, all of which to me are a better experience than an options page
Loving it, thanks Jonathan!
Thank you, Jonathan! quick and easy
Glad it was helpful!
Great Jonathan. I wonder, how do you reference the Assacation Logo in the block editor or other places? In GenerateBlocks for instance I often use the Dynamic Data but it doesn't support the use of Options Page in Data Source!
I actually got the code for the logo on the options page from a premium GeneratePress snippet website by Taylor Drayson: snippetclub.com/set-logo-in-generatepress-from-acf-options-page/