(theme: One Engine) How to delete blog info from header?
-
Hi,
I’d like to delete the blog name and description from my header.
You can see the problem here:https://redaction-traduction-web.com/
I already deleted the blog name and blog description from wordpress panel options but it’s still visible.I tried deleting it from header.php by removing this part but it didn’t change anything:
<!– Title
================================================== –>
<title><?php bloginfo(‘name’); ?><?php if(is_front_page()){ echo ‘ – ‘ .get_bloginfo(‘description’);} else echo wp_title(); ?>
</title>
<!– Title / End –>I can see there’s another mention to bloginfo in the code but i don’t know how to change it without messing it up:
<!– Header
======================================================================== –>
<header id=”header”>
<div class=”container” >
<div class=”row”>
<div class=”col-md-3 col-xs-3″>
<!– Logo
======================================================================== –>
<div calss=”logo-wrapper”>
<div class=”logo”>
“>
<?php
$top = ” ;
$left = ” ;
$width = ” ;
if( oneengine_option(‘logo_top’) != ” )$top = ‘top:’.oneengine_option(‘logo_top’).’px;’ ;
if( oneengine_option(‘logo_left’) != ” )$left = ‘left:’.oneengine_option(‘logo_left’).’px;’;
if( oneengine_option(‘logo_width’) != ” )$width = ‘width:’.oneengine_option(‘logo_width’).’px;’;
if( oneengine_option(‘custom_logo’, false, ‘url’) !== ” ){
echo ‘<div class=”logo-wrapper” style=”‘.$width.$left.$top.'”><img src=”‘. oneengine_option(‘custom_logo’, false, ‘url’) .'” alt=”‘.get_bloginfo( ‘name’ ).'” /></div>’;
}else{
?>
<div class=”logo-img”><span>E</span></div>
<?php } ?>
</div>
</div>
<!– Logo / End –>
</div><div class=”col-md-9 col-xs-9″>
Thanks a lot for your help
- The topic ‘(theme: One Engine) How to delete blog info from header?’ is closed to new replies.