Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $url = "http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI'];
- $pageurl = "PAGE URL HERE WHERE YOU DONT WANT TO HEADER TO SHOW";
- if($url != $pageurl){
- ?>
- <header id="header-action" class="group">
- <div class="margin group">
- <?php echo do_shortcode( shortcode_unautop( wpautop( prima_get_setting( 'calltoaction_text' ) ) ) ); ?>
- <a class="header-action-button" href="<?php prima_setting( 'calltoaction_url' ); ?>">
- <?php prima_setting( 'calltoaction_button' ); ?>
- </a>
- </div>
- </header>
- <?php
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment