Random post or page on homepage
-
Hi π
I would like to display a random page or post on my homepage. The post should be shown entirely, in full page. Each time you refresh the page (in this case http://www.slammingdoors.space) it should show another post from a canvas of about 100 posts).
Each post has different content, it can be an image, a video, only sound etc.).I searched a way to do this with plugins, but every tentative was a miss π
So I created a new page called “random” where the idea is to put some code to display a random post (or page if it’s easier).
Would there be a simple way to do that? If it’s not simple, it’s ok too π
I already created 2 posts as an example so I could try what you suggest immediately.
Note that the url of the homepage shouldn’t change! Only the content. So it should stay http://www.slammingdoors.space.
Also I use elementor so I could easily add code with a code widget on the page.
Thanks for your precious help !
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.