biggeorge
Member
Posted 1 year ago #
I have a webcam uploading jpeg's every 30-seconds. I would like to refresh that specific page only using the is_page tag. I know it belongs in the header, and I've used it before with success, but for the life of me I cannot remember the exact tag.
Please help.
<?php if( is_page( '1044' ) <meta http-equiv="refresh" content="30">; ?>
try to adapt the syntax:
<?php if( is_page( '1044' )) { ?>
<meta http-equiv="refresh" content="30">
<?php } ?>
biggeorge
Member
Posted 1 year ago #
Thanks a million, alchymyth. Works like a champ!
For others wanting to do this, the code seems to work ONLY if it's place on the last line of the header.
biggeorge
Member
Posted 1 year ago #
mastertechmag
Member
Posted 1 month ago #
AWESOME!! Thanks guys, I'm glad I wasn't the only one looking to do this...
taifurbau
Member
Posted 2 weeks ago #
how can I auto refresh the homepage only?
Thanks in advance.
taifurbau
Member
Posted 2 weeks ago #
forgotten to tell one thing that I use Thesis theme & wordpress 3.3