Support

Account

Home Forums Add-ons Gallery Field Random Gallery Image with wp_get_attachment_image() Reply To: Random Gallery Image with wp_get_attachment_image()

  • Thank you. I marked this as the solution before seeing the answer from @hube2. His solution made my code work (as I did not know about the false parameter, and the added benefit of not needing ACF to do additional queries) but your solution worked as well.