Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

wordpress if is not page template

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 -->
}
Source by wordpress.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #wordpress #page #template
ADD COMMENT
Topic
Name
4+4 =