I was able to implement the manual workaround suggesed by @1greatness of switching to the code editor and swapping "orderBy":"date"
with "orderBy":"rand"
.
I could still edit the rest of the blocks, but the query loop didn’t load in Gutenburg anymore for editing, which is fine. I saved it as a pattern first, so I can re-create if it needed, and re-do the hack. Pagination seems to work just fine too: https://www.sociocracyforall.org/content/#Sociocracy_articles_and_videos
It seems clear that the functionality is hung up with Gutenburg’s development team here despite being supported by wordpress.
https://github.com/WordPress/gutenberg/pull/50999
There’s question about the usefulness of randomized sorting (which is frankly puzzling), and concern about performance and caching impacts. These issues don’t seem worth not having the functionality to me, but so it goes…
Since it seems Gutenburg developers are uninterested in enabling this function, it would be handy if there were a plugin that just enabled the GUI selectability for random sorting in Gutenburg and did nothing else, because I don’t want to add extra bulky plugins, but given that this work-around isn’t too inconvenient, I’m content to hack Gutenburg in this way, as ugly as it is.
-
This reply was modified 11 months ago by supaiku.
-
This reply was modified 11 months ago by supaiku.
-
This reply was modified 11 months ago by supaiku.