Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter girlswishlist

    (@girlswishlist)

    Oops forgot to close the link – complete novice! Here’s my site

    Check that your theme’s page.php and single.php template files both include calls to get_header().

    Thread Starter girlswishlist

    (@girlswishlist)

    Thanks esmi but yes they both have <?php get_header(); ?>

    Here’s the header.php incase there’s something wrong in that?

    tml xmlns=”http://www.w3.org/1999/xhtml&#8221; <?php language_attributes(); ?>>

    <head profile=”http://gmpg.org/xfn/11″&gt;
    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />

    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    <meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats –>

    <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’); ?>” />
    <?php wp_head(); ?>
    </head>
    <body>
    <div id=”page”>
    <div id=”header”>
    <div id=”headerimage”><img border=”0″ src=”wp-content/themes/theme4/images/header.jpg” /></div>
    <h1>/”><?php bloginfo(‘name’); ?></h1>
    <div class=”description”><?php bloginfo(‘description’); ?></div>
    </div>
    <hr />

    I don’t know if it’s the source of the problem, but you have fancy quotes (real code killers) in your header image code. They are the ones surrounding headerimage:

    <div id=”headerimage”><a href="http://girlswishlist.co.uk"><img border="0" src="wp-content/themes/theme4/images/header.jpg" /></a></div>

    Replace them with regular keyboard double quotes.

    Fancy quotes can be accidentally acquired when copy and pasting or by using the wrong text editor (like MS Word).

    try to use an absolute file path to the header image:

    <img src="http://girlswishlist.co.uk/wp-content/themes/theme4/images/header.jpg" border="0">

    or

    <img src="<?php bloginfo('template_url'); ?>/images/header.jpg" border="0">

    Thread Starter girlswishlist

    (@girlswishlist)

    Thank you so much!! I changed the quote marks iridiax and also used the absolute file path you suggested alcymyth and hooray the issue is resolved – I now have headers on every page and not just the homepage!

    I really really appreciate the help and hope 1 day to be a WordPress pro like you guys!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Header only showing up on homepage’ is closed to new replies.