WordPress.org

Ready to get started?Download WordPress

Forums

Image in Header (1 post)

  1. eaglenick
    Member
    Posted 6 years ago #

    Hello everybody.

    I have tried adding an image to my header, and each time I try, it screws it up completely.

    Here is my site:
    http://internettoolsblog.eagleconnections.net/

    I would like to add an image on the far right side of the header.

    Where in my header template to I place the HTML code?
    Here is my current Header template.

    <?php include("pagefunctions.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://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    <title>
    <?php bloginfo('name'); ?>
    <?php wp_title(); ?>
    </title>
    <meta name="distribution" content="global" />
    <meta name="robots" content="follow, all" />
    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" />
    <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 //comments_popup_script(); // off by default ?>
    <?php if (is_single() and ('open' == $post-> comment_status) or ('comment' == $post-> comment_type) ) { ?>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/prototype.js.php"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/effects.js.php"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/ajax_comments.js"></script>
    <?php } ?>
    <?php if (is_page() and ('open' == $post-> comment_status)) { ?>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/prototype.js.php"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/effects.js.php"></script>
    <script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/ajax_comments.js"></script>
    <?php } ?>
    <style type="text/css" media="screen">
    <!-- @import url( <?php bloginfo('stylesheet_url'); ?> ); -->
    </style>
    <?php
    global $page_sort;
    if(get_settings('spotlight_sortpages')!='')
    {
    $page_sort = 'sort_column='. get_settings('spotlight_sortpages');
    }
    global $pages_to_exclude;

    if(get_settings('spotlight_excludepages')!='')
    {
    $pages_to_exclude = 'exclude='. get_settings('spotlight_excludepages');
    }
    ?>
    <?php wp_head(); ?>
    </head>
    <body id="home" class="log">
    <div id="header">
    <div id="logo">
    <h1 id="blogname">">
    <?php bloginfo('name'); ?>
    </h1>
    <div class="description">
    <?php bloginfo('description'); ?>
    </div>
    </div>
    <div>
    <ul id="navigation">
    <?php if (is_home()) {$pg_li .="current_page_item";} ?>
    <li class="<?php echo $pg_li; ?>">" title="Home"><span>Home</span>
    <?php wp_list_page('title_li=&depth=1&'.$page_sort.'&'.$pages_to_exclude)?>

    </div>
    </div>
    <div id="wrap">

    Thanks in advance

Topic Closed

This topic has been closed to new replies.

About this Topic