Hi,
Added this to my Customizations > Code > Head and getting an error of this showing up at the top of the page.
Top of Page shows ’ ; } ?>
Code in Head
<!-- Results Page Auto Refresh -->
<?php
if(is_category( '24' ))
{
echo '<meta http-equiv="refresh" content="60">' ;
}
?>
I am stumped.
Thanks in advance.
avanti
(Emmanuel Soyer)
2
This location is not for PHP, try function.php in child theme.
See the KB: https://kb.wpbeaverbuilder.com/article/159-customizer-settings-the-code-tab
Thank you. I read that KB article, but missed that it excluded PHP.
I used the Code Snippit Plugin to add it. Referenced how to here: https://kinsta.com/knowledgebase/add-code-wordpress-header-footer/