Or operators in PHP [closed]
try this <?php if ( (! is_page_template(‘modelPages.php’)) || (! is_archive()) || (! is_single) ) { ?> Think your ‘not’ ! is causing the issue. btw, you could move it to this <?php if ( !( is_page_template(‘modelPages.php’) || is_archive() || is_single() ) ) { ?>