How to Sort a Query Loop by an ACF Date Field using GenerateBlocks

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • In this video, I walk you through the steps to sort your Query Loop block by date, according to an ACF field.
    Here's the Documentation mentioned in the video: docs.generateb...
    Check out Template Tags: snippetclub.co...
    --
    💡Learn More about GenerateBlocks: generateblocks...
    📰 Become a Design to Dollars subscriber & receive design tips that make cents: adamwrightdesi...
    🖥️ My business site: adamwrightdesi...
    🖥️ My personal site: heyadamwright.com
    📧 Get in touch: hello@adamwrightdesign.com
    💙 If you enjoyed this video, please consider helping support by Subscribing to my channel and Liking the video above!
    🙌 Thanks for your support!

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

  • @MrCooperParker
    @MrCooperParker 9 дней назад

    Thanks! Big help!

  • @grumpykoala6896
    @grumpykoala6896 Месяц назад

    Thank you exactly what i was looking for 🙏

  • @jose.fonterosa
    @jose.fonterosa 6 месяцев назад

    thanks Adam!.
    As always your tutorials are practical and solve problems.
    Don't take so long with the next one 😄

  • @jakewoods_io
    @jakewoods_io 6 месяцев назад

    Great stuff Adam, this is going to help a lot for an upcoming project!

  • @IainMace
    @IainMace 4 месяца назад +1

    I had a little trouble getting "custom order" to work (per the GB documentation). Turns out that I hadn't included the field in Query Loop. Super obvious on reflection but caused a frustrating few hours so adding it here for others to benefit. You can then simply hide that field use "hide on mobile", "hide on desktop" & "hide on tablet".

  • @afdoux
    @afdoux 5 месяцев назад +1

    Thanks for this clear tutorial! I'm curious - how do you sort the query loop by 2 custom fields? For example - when you need to sort by date, then time.... using 2 different custom fields (a date picker and a time picker).

    • @adamwrightdesign
      @adamwrightdesign  5 месяцев назад

      Very good question! I would totally reach out to GenerateBlocks support, as they could probably provide a solution and amendment to their code.

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

    Epic man! This is gonna help so many people!

    • @adamwrightdesign
      @adamwrightdesign  6 месяцев назад +1

      Thank you! 🙌 Yea, it is something that's so much simpler to achieve than I ever thought!

    • @scottydigital
      @scottydigital 6 месяцев назад +2

      This is great! I've been searching for a way to do this for months now. Thanks, Adam! And, yes, @KyleVanDeusen, it's helping me -- I'm the so many people! lol

  •  3 месяца назад

    For me this doesnt work because I dont have the possibility to add a parameter on my bricks UI. Im not even 100% sure you are talking about a query loop in bricks and since I dont see the upload date of the video I dont have a chance to check whether you might be talking about an old version of bricks or acf.

    • @adamwrightdesign
      @adamwrightdesign  3 месяца назад

      This is aimed at GenerateBlocks and ACF, all recent up to date versions at the time of the video.