More Than Just Another Basic ACF Options Page Tutorial (Conditions + Options Page = Power!)

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 14

  • @mrnordjr
    @mrnordjr 9 месяцев назад +2

    he has risen.....

  • @kylevandeusen
    @kylevandeusen 9 месяцев назад +1

    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!

    • @Permaslug
      @Permaslug  9 месяцев назад

      Glad to hear that dude!

    • @torbenheikelvinther4535
      @torbenheikelvinther4535 9 месяцев назад

      +1 I'll add this to my Kyle-ish Starter Site ASAP. Thanks!

  • @davidkeevis339
    @davidkeevis339 9 месяцев назад

    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.

    • @Permaslug
      @Permaslug  9 месяцев назад

      Agreed, it's amazingly powerful and also insane that it's totally free

  • @sebastian.schwarz
    @sebastian.schwarz 9 месяцев назад

    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?

    • @Permaslug
      @Permaslug  9 месяцев назад +1

      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

  • @IvanOung
    @IvanOung 9 месяцев назад

    Loving it, thanks Jonathan!

  • @Claudio_W
    @Claudio_W 9 месяцев назад

    Thank you, Jonathan! quick and easy

    • @Permaslug
      @Permaslug  9 месяцев назад +1

      Glad it was helpful!

  • @torbenheikelvinther4535
    @torbenheikelvinther4535 9 месяцев назад

    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!

    • @Permaslug
      @Permaslug  9 месяцев назад +1

      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/