WordPress.org

Ready to get started?Download WordPress

Forums

Header Image doesn't display (1 post)

  1. Anonymous
    Unregistered
    Posted 5 years ago #

    I've uploaded a free template. When I View Site, the image in the header doesn't show. The code doesn't indicate there is an image; the images are located in a separate directory (folder) within the theme directory (folder).

    How do I get the image from the Image directory (folder) into the header? Here's the header.php:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head profile="http://geotags.com/geo">
    <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    <meta http-equiv="content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <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="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />

    <?php wp_get_archives('type=monthly&format=link'); ?>

    <?php wp_head(); ?>
    </head>
    <body>

    <div id="page">

    <div class="antara"> </div>

    <div id="header" title="<?php bloginfo('name'); ?>" onclick="location.href='<?php echo get_settings('home'); ?>';" style="cursor: pointer;">
    <h1 >/"><?php bloginfo('name'); ?></h1>
    <div class="description"><?php bloginfo('description'); ?></div>
    </div>
    <div style="text-align: center; padding: 0px" >
    Adsense link 72x15 here
    </div>

    <div class="antara"></div>

    <hr />

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags