Archived topic
Display Search Results on same page without page refresh
34 replies · Started by bluebit on October 16, 2018
I made it work without a posts page, just a static page, im not understanding why a posts page is better, since all i want to do is show images on the front page.
and trying to figure out how i an randomize the images, so everytime the user refreshes the page it shows the same images just in a randomized order
That depends on how you added the posts. It looks like you're using a plugin - does it have a way to randomize the posts?
I'm actually just using a static homepage with the siteorigin layout builder plugin and made a 3 columns and rows with images inside widgets spaced evenly apart.
The plugin doesnt allow randomizing the widgets inside the layout builder but it does have a custom css box.
But i found this online: https://www.wp-code.com/wordpress-snippets/how-to-randomize-the-order-of-widgets/
Only problem is the snippet is for the sidebar widgets, and i need one to randomize only the widgets inside the content/body area of the homepage and not the header area, since i got other widgets in the header section that i dont want randomized.
I'm not sure if that code can apply to Site Origin widgets. Have you checked with their support team?
yes, i've contacted them about it, i actually have premium support with them but still waiting for a reply.