How to Remove Header for multiple pages?
-
Hi there,
I want to remove the header for the rest of my pages and only have it at the home page. I am able to remove it just from One Page Only but dont know how to do the same with the rest. This is what I did:Code:
<?php if( !is_page( ‘en-vivo’ ) ) : ?>
<?php $customheader_on = get_option(‘dev_studio_customheader_on’);
if ($customheader_on == “yes”){
?>
<?php locate_template( array( ‘/library/components/customheader.php’ ), true ); ?>
<?php endif; ?>
I am using this <?php if( !is_page( ‘en-vivo’ ) ) : ?> to remove the header for the page en-vivo. Now how can I add the other pages?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to Remove Header for multiple pages?’ is closed to new replies.