• Hey..quick question. How do I change the header? I want to add a picture which is also a link to the home page. Thanks…and btw how do people learn about this wordpress programming language?

    https://sometastythings.com/

    here is the header PHP..

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;

    <html xmlns=”https://www.w3.org/1999/xhtml”&gt;

    <head profile=”https://gmpg.org/xfn/11″&gt;

    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />

    <?php if (is_home()) { ?>
    <title><?php bloginfo(‘name’); ?> — <?php bloginfo(‘description’); ?></title>

    <?php } elseif(is_category() or is_archive() or is_page() or is_single() or is_404() ) { ?>
    <title><?php wp_title(”); ?> — <?php bloginfo(‘name’); ?></title>

    <?php } elseif(is_search() ) { ?>
    <title>Serach results — <?php bloginfo(‘name’); ?></title>

    <?php } else { ?>
    <title> <?php wp_title(); ?> — <?php bloginfo(‘name’); ?></title>
    <?php } ?>

    <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’); ?>” />

    <link rel=”shortcut icon” href=”<?php bloginfo(‘template_url’); ?>/favicon.ico” />

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

    <?php wp_head(); ?>

    </head>

    <body>

    <div ></div>

    <div id=”wrapper”>

    <div id=”header”>

    <ul id=”nav”>

    <li class=”page_item”>“>Home

    <?php wp_list_pages(‘depth=1&title_li=’); ?>

    <p class=”description”>

    <?php bloginfo(‘description’); ?>
    </p>

    <h1>“><?php bloginfo(‘name’); ?></h1>

    </div>

Viewing 2 replies - 1 through 2 (of 2 total)
  • add this in the header div

    <div id="logo">
    <a href="<?php bloginfo('url'); ?>/" title="Home"><IMG SRC="<?php bloginfo('url'); ?>/wp-content/themes/YOURTHEME/images/logo.png" ALT="Logo" title="Home"></a><h1><a href="<?php bloginfo('url'); ?>/" title="<?php bloginfo('description'); ?>"><?php bloginfo('name'); ?></a></h1>
    </div>
    Thread Starter tariqbenson

    (@tariqbenson)

    okay thanks.. so I am quite sure I have done that. How do I add the logo now. Please have a look at the site again…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do I change the header?’ is closed to new replies.