Help on is_page
-
Here is the code. Current code will display all the header in same page.
<?php if ( is_page(‘1’)) {} include(‘header1.php’);?>
<?php if ( is_page(‘2’)) {} include(‘header2.php’);?>
<?php if ( is_page(‘3’)) {} include(‘header3.php’);?>How to make
When page 1 will not do page 2 and 3
When page 2 will not do on page 1 and 3
When page 4 will not do page 1 and 2
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Help on is_page’ is closed to new replies.