Exploring the Query Loop block

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 9

  • @SunilWilliams
    @SunilWilliams Před rokem

    Holy crap. I'm amazed at how the Gutenberg team managed to screw up the query block design so badly.
    Pretty much the first thing that most builders / designers of content sites will be a columnar grid of post content with featured images.
    The query block makes this impossible.
    I have no idea how they managed to fuck this up so spectacularly.

    • @AnneMcCarthy
      @AnneMcCarthy  Před rokem

      Hey there! Can you share more on Gutenberg’s GitHub repo and tag @annezazu? I’d love to learn more.

  • @JulianStark
    @JulianStark Před 2 lety +2

    Thanks for the video! How can I add ACF fields inside of the query loop? I tried the acf shortcode but it doesn’t work.

    • @AnneMcCarthy
      @AnneMcCarthy  Před 2 lety

      I'd reach out to ACF there as I'm not quite sure they have built in compatibility just yet. I do know that more advanced filters are being explored in this GitHub issue too in case it helps: github.com/WordPress/gutenberg/issues/30706

    • @JulianStark
      @JulianStark Před 2 lety

      @@AnneMcCarthy thank you

    • @meyne
      @meyne Před 2 lety

      Have you gotten anywhere with this? Sadly I have been having to skip using the query block on many designs because I need to show a custom field (via shortcode) inside the query too, and can't get it to work.

    • @JulianStark
      @JulianStark Před 2 lety +1

      @@meyne no I didn’t. I used a shortcode instead 😅

  • @seancasey8063
    @seancasey8063 Před 2 lety +1

    Hi Anne, Excellent video. It sounds like you will be able to add custom post types. Will you be able to use it to pick a few specific posts/pages or only alphabetical, latest, or those with categories/tags/keywords? Thanks in advance!

    • @AnneMcCarthy
      @AnneMcCarthy  Před 2 lety +1

      Thanks so much for watching! Everything you asked about is on the horizon but not yet available in the latest version of Gutenberg (11.6 at the time of writing this). Here are a few issues where you can see this future work being discussed: github.com/WordPress/gutenberg/issues/30706 & github.com/WordPress/gutenberg/issues/31390#issuecomment-855373896 Lots to look forward to :)