Auto-refresh page every minute?

How do I make a WP page (w/ dynamic content) auto-refresh every minute?

With PHP, I’d use a “Refresh:” header, and in HTML I could use a
HTTP-EQUIV tag or something.

However, WP generates headers itself, and I can’t tweak anything until
the body, no?

I searched in vain for a plug-in that does this.

1 Answer
1

you can add <meta http-equiv="refresh" content="60"> to your header.php file in wordpress theme.

EDIT: I removed the last bit of code and just made a plugin with read me file and the functions you would want.

You can download the plugin from here WP Auto Refresh Plugin and install it from the beck-end. Note i did not create a graphical UI so the plugin will need to be modified from the file it self. Maybe ill develop a basic UI but for now i need to work on some other higher priority projects. the plugin can be found in your /wp-content/plugins directory under auto_refresh.

Leave a Comment