How to Use Auto Refresh Page script on your page?
How to use it in Blogger?
Put this code in that page which you want to be refreshed after a certain time.
How to use it in WordPress?
In case of wordpress there are two methods.
In case of Classic editor you have to switch into text view instead of visual view, and put the code at start or end of the page.
In case of gutenberg editor you have to select code widget and paste the following code in it and publish your post or page.
Blogger VS WordPress Which to choose an Ultimate Guide.
How to Chage Time Interval?
The code is set auto-refresh after every 4 seconds, but if you want less or more time to be refreshed check the number in the body tag of the code and edit it accordingly (keep in mind 1 second = 1000).
I hope you enjoyed this post. Recommend this to your friends and comment for your kind suggestions.