<!DOCTYPE html>
<html <?php language_attributes(); ?>>
<head>
<meta charset=”<?php bloginfo( ‘charset’ ); ?>” />
<meta name=”viewport” content=”width=device-width” />
<title><?php wp_title( ‘|’, true, ‘right’ ); ?></title>
<link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>” />
<?php wp_head(); ?>
</head>
<body <?php body_class(); ?>>
<?php
// After the <body> tag starts hook
ac_after_body();
?>
<header id=”main-header” class=”header-wrap”>
<div class=”wrap”>
<div class=”top<?php ac_mini_disabled() ?>”>
<div class=”logo”>
” title=”<?php bloginfo( ‘title’ ); ?>” class=”logo-contents<?php ac_logo_class(); ?>”><?php ac_get_logo(); ?>
<?php
// Ads variables – Options Panel
$ad728_show = of_get_option( ‘ac_ad728_show’ );
$ad728_code = of_get_option( ‘ac_ad728_code’ );
if ( $ad728_code == ” ) :
?>
<h2 class=”description”><?php bloginfo( ‘description’ ); ?></h2>
<?php endif; ?>
</div><!– END .logo –>
hello. thanks for your respone. you mean to my site? i am in the development process. so haven’t launched my page.
I see. I would have tried to hide the titles with “display:none;”. I don’t know what you mean by “browser tap”.
Thank you!
Where would you add this code in the above php?
Sorry I am a freshman 🙂
by browser tap I mean the field above the adress line which includes the favicon e.g. WordPress > Support …
I have the option to delete the page title and description from my header which is fine to only show the background image but then the title disappears also from the tap with the favicon in it.
“display:none;” is a css, not php property. If you want to hide the description, you apply the property to the h2 tag with the class “description”.
sorry,
still haven’t managed to implement this successfully.
Do I go to CSS Stylesheet Editor?
What exactly do I have to type in in order for it to work?
What would the programming code be, so that it fully works at the end?
I’m sorry, but since you are in a development stage and you cannot point me to the address of your website, I’m unable to help you.
many thanks anyway for your time and help! 🙂
had to delete this bit here for it to work
<div class=”logo”>
” title=”<?php bloginfo( ‘title’ ); ?>” class=”logo-contents<?php ac_logo_class(); ?>”><?php ac_get_logo(); ?>
<?php
// Ads variables – Options Panel
$ad728_show = of_get_option( ‘ac_ad728_show’ );
$ad728_code = of_get_option( ‘ac_ad728_code’ );
if ( $ad728_code == ” ) :
?>
<h2 class=”description”><?php bloginfo( ‘description’ ); ?></h2>
<?php endif; ?>
</div><!– END .logo –>