WordPress.org

Ready to get started?Download WordPress

Forums

help required with logo (1 post)

  1. dino25
    Member
    Posted 5 years ago #

    How can I add a my logo in place of the default blog text/title on the top left.

    The code from 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" <?php if (function_exists('language_attributes')) language_attributes(); ?>>
    
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    
    <title><?php if(is_home() || is_search())  { bloginfo('name'); echo ' &raquo; '; bloginfo('description'); } else { wp_title(''); echo ' &raquo; '; bloginfo('name'); } ?></title>
    
    <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="alternate" type="application/atom+xml" title="<?php bloginfo('name'); ?> Atom Feed" href="<?php bloginfo('atom_url'); ?>" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
    <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/equalcolumns.js"></script>
    <?php if ( is_singular() ) wp_enqueue_script( 'comment-reply' ); ?>
    <?php wp_head(); ?>
    </head>
    <body>
    	<div class="content">
    
    			<div class="header">
    				<div class="searchf">
    						<form id="searchform" method="get" action="<?php bloginfo('url') ?>"><p>
    						Search: <input class="search" type="text" name="s" id="s" size="20"/></p>
    					</form>
    				</div>
    				<div class="leftside">
    				<h1><a href="<?php bloginfo('url') ?>" title="Home"><?php bloginfo('name'); ?></a></h1>
    				<h2><?php bloginfo('description'); ?></h2>
    				</div>
    			</div>
    
    			<div id="lnews">
    				<h2>About Us</h2>
    
    			</div>
    
    			<div id="nav">
    			  	<ul>
    				<li class="<?php if (is_home()) {echo 'page_item current_page_item'; } ?>"><a href="<?php bloginfo('url') ?>/">Home</a></li>
    					<?php wp_list_pages('title_li=&depth=1' ); ?>
          			</ul>
    			</div>

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags