I instaled a theme that on the header you have the typical <h1> title and an <h2> subtitle. But what I want is to replace these for an image. How do I do that? Thanks in advance!
I instaled a theme that on the header you have the typical <h1> title and an <h2> subtitle. But what I want is to replace these for an image. How do I do that? Thanks in advance!
Please see that similar problem as yours:
You will need to go into your wordpress installation for that, and open header.php (wp-content/themes/*active theme* which might be the default if you haven't changed it).
thanks a lot for the reply, but im afraid im a real newbie with this. Could you please explain this part further:
---
Replace
<?php bloginfo('name'); ?>
with
img src="http://path_to_your_gif_file.gif/"
----
I have to take off the whole <?php bloginfo('name'); ?> or supplant 'name' with img src="http://path_to_your_gif_file.gif/"....or what?
Sorry for the trouble and thanks!
by the way the code on my header.php is
`<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>`
Post the code within <header></header>.
Was that the the only code from header.php? Post everything.
this is the code inside my header.php
<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>
This topic has been closed to new replies.