Remove Image Header from Specific Post/Page
-
Hi, im trying to remove image header on blog posts and on some specific pages. Im using Amply theme.
Example of a specific page that I would like to remove the image :
https://mundosocialdmd.com.br/melhores-ferramentas-de-seo-2017/I think it may be on editor > header
Please have a look at one part of the header code. I blackened the URL of my image header to make it easier for you guys.
<?php else : /* Caso contrário, fa?a/escreva o seguinte */ ?>
<div id=”access”>
<?php wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘menu_class’ => ‘menu clearfix’ ) ); ?>
</div><!– #access –>
<?php endif; ?>
</header><!– #masthead –>
<?php is_front_page();?>
<div id=”imagem-header”>
<img src="https://mundosocialdmd.com.br/wp-content/uploads/2016/12/imagem-principal-desenvolver-sites-1.png” /></div><p id=”servicos”></p><?php if ( !is_page_template(‘templates/page_live-composer.php’) && !is_home() ) : ?>
<?php echo amplify_page_title(); ?>
<?php endif; ?><?php if ( !is_page_template(‘templates/page_live-composer.php’) ) : ?>
<?php $container = “container”; ?>
<?php else : ?>
<?php $container = “”; ?>
<?php endif; ?>
<div id=”content” class=”site-content clearfix <?php echo esc_attr($container); ?>”><?php if( function_exists(‘bcn_display’) && !is_front_page() ) : // Support for Breadcrumb NavXT ?>
<div class=”breadcrumbs” xmlns:v=”https://rdf.data-vocabulary.org/#”>
<?php bcn_display(); ?>
</div>
<?php endif; ?>Thanks!!!!!!
- The topic ‘Remove Image Header from Specific Post/Page’ is closed to new replies.