{"id":18664139,"date":"2025-10-01T15:13:12","date_gmt":"2025-10-01T15:13:12","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/using-random-function-in-blocks\/"},"modified":"2025-10-01T15:13:12","modified_gmt":"2025-10-01T15:13:12","slug":"using-random-function-in-blocks","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/using-random-function-in-blocks\/","title":{"rendered":"Using Random function in blocks"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">I have wplr collections with the random function added on my website. <br \/>In order to use random, I need to use teh short code. <br \/>Is there a way to trigger the random function for a gallery form the gutenberg block?  <br \/><\/p>\n","protected":false},"template":"","class_list":["post-18664139","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18664139","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/18664139\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=18664139"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}