• 20something

    (@20something)


    Hello, I would like to have a clickable header. I have searched through all of the forums. I see a lot of relevant posts, but none that shows me what I specifically need to add within my header.php file to make this happen. Please look at my code, and let me know what I need to add. Thanks.

    <!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&#8221; <?php language_attributes(); ?>>

    <head profile=”https://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() ) { ?>
    » <?php
    foreach((get_the_category()) as $cat) {
    echo $cat->cat_name . ‘ ‘;
    } ?> <?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=”stylesheet” href=”<?php bloginfo(‘template_url’); ?>/nav.css” type=”text/css” media=”screen” />
    <link rel=”stylesheet” href=”<?php bloginfo(‘template_url’); ?>/print.css” type=”text/css” media=”print” />

    <script type=”text/javascript” src=”<?php bloginfo(‘template_url’); ?>/js/dropdowns.js”></script>

    <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<?php if ( is_home() ) { ?> id=”home”<?php } ?>>
    <div id=”page” class=”clearfloat”>

    <div class=”clearfloat”>
    <div id=”branding” class=”left”>
    <h1>/”><?php bloginfo(‘name’); ?></h1>
    <div class=”description”><?php bloginfo(‘description’); ?></div>
    </div>

    <div class=”right”><?php include (TEMPLATEPATH . ‘/searchform.php’); ?></div>
    </div>

    <ul id=”nav” class=”clearfloat”>

  • The topic ‘Clickable Header – please look at Header.php for code help’ is closed to new replies.