I want to place a random image from any of the listed categories. Would there be anyway possible you could help me achieve this?
Example.
I have several posts and they all are in categories.
Categories consist of: Blog, Work, Extras, Tutorials,
I want to be able to pull a single random image from “Work, Extras, Tutorials” and then place that one image in my sidebar.
I’m just not sure how to create or modify the function to achieve this.
Keep in mind that the image being pulled would then need to be the thumbnail version.