WordPress si no es plantilla de página

if (!is_page_template('template-custom.php') && !is_page_template('template-custom2.php')) {
    <!-- show some content when you AREN NOT in template-custom.php NOR template-custom2.php -->
}
Inquisitive Impala