Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Order by custom field value in Query Loop block v2

  • I’m curious if, since v2, there’s a new way to order by a custom field value in the query loop block, or if I need to use the custom class to filter the query args using a function (like in v1)

    Thanks.

  • Hi there,

    Unfortunately, there isn’t a built-in way to do this!

    Just note that the filter for v2 query block is generateblocks_query_wp_query_args instead of generateblocks_query_loop_args.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.