Sorting in archvie page

hi there,

is it possible to sort the postings not by date from the post itself but with a date selected from a acf pro field?
i cannot select an acf filed in builder in the querybuilder.
is there a workaorund?

thanks in advance for your help.

cheers

Hello @deranaloge,

Thanks for writing in!

The archive layout does not need a Looper Provider. All of the WordPress archive pages including the blog index display the post items in chronological order according to the published date. If you add a Looper Provider and modify the order, the post pagination element will no longer work and will have other issues or conflicts sooner or later. Even if now it would be easy for us to design the archive page layouts, we still have to follow the WordPress defaults to prevent any issues and conflicts. With the archive layout builder, it allows us to design how the post items on the archive page should be designed and how it looks. Still, we need to follow the WordPress defaults like the built-in loop of the archive pages.

Hope this makes sense.

Hi, ah sorry my fault. I don’t mean archive page i mean the looper provider. Can i set the sorting date to an acf field? Cheers

Hi @deranaloge,

You can set the ACF field value to the Date option of Query Builder using the Dynamic Content tag. I would request you to go through the following article on how you can use the ACF field values inside the looper, and the screenshot where you need to mention it.

Hope it helps.
Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.