GiorgioMartini,
Of course this is possible. Open the header.php and find the following code:
<div class="span-24 header">
<h1 class="name">
<a href="http://tweakingknobs.com">TweakingKnobs</a>
</h1>
<span class="slogan">Electronic Graphics and Computer Music</span>
</div>
then replace with something such as:
<div class="span-24 header">
<img src="http://www.mysite.com/wp-content/themes/default/images/myImage.jpg">
</div>
Just a little thing, but WP writes to XHTML 1.0 so you’ll need to add a self-closing slash to the image tag to keep it compliant:
<img src="http://xxxxxxxxxxxxxxxx.jpg" />
John
Thanx both ,
but SpankMarvin , where exactly do i put that code you wrote ?
Thanx !
@ doc4
hi, doc , there is nothing like that in my header.php ,
look this is my code :
<?php
global $options;
foreach ($options as $value) {
if (get_settings( $value['id'] ) === FALSE) { $$value['id'] = $value['std']; } else { $$value['id'] = get_settings( $value['id'] ); } }
/* default values */
if ($fancy_main_color == '#FE0059') {
$bubbles = 'bubbles.gif';
$feed_image = 'feed.gif';
$scissors = 'scissors.gif';
$sep = 'sep-red.gif';
}
elseif ($fancy_main_color == '#FEB400') {
$bubbles = 'bubbles-yellow.gif';
$feed_image = 'feed-yellow.gif';
$scissors = 'scissors-yellow.gif';
$sep = 'sep-yellow.gif';
}
else {
$bubbles = 'bubbles-green.gif';
$feed_image = 'feed-green.gif';
$scissors = 'scissors-green.gif';
$sep = 'sep-green.gif';
}
?>
<head>
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
<link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
<link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
<title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<? include(TEMPLATEPATH."/custom.php"); ?>
<?php wp_head(); ?>
</head>
All content will be after the closing head tag, i.e. after the code you have supplied above. Is this the end of your header.php file, or is there more? If there’s more, post the lot so we can see. If there isn’t, can you supply the next chunk of code from whatever include file contains it?
GiorgioMartini,
Like SpankMarvin says post the rest of the header.php code if it exists. Otherwise the code I reference above must be located within each body page. Check the opening code for index.php.
thanx, all the code is what i posted , i copied and pasted what u told me and now it works . thanx!!