Block Reloader/Refresher?

[ad_1]

Hi, everyone.

Tl;dr

I’m searching for a plugin or a code that I can insert into a container that will refresh the content of that container when clicking a button. Any ideas?

Use Case

I have a block that pulls a random image from my WP database. I am putting two of those side by side to get a “random pair” of images. I want visitors to be able to click a button (an image or the mouse) to refresh the random pair. Ideally, the container itself will refresh and not the entire page. Any ideas?

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer