• HI I JUST WANT MY HEADER, WHICH IS AN IMAGE, TO BE CLICKABLE AND LEAD TO DE MAIN PAGE. I’VE READ THE ASSOCIATE THEME I CODEX, BUT I DONT REALLY GET HOW TO MAKE IT.

    IM USING THE COMMUNICATIONS THEME, BUT I DONT NOW EXACTLY WHERE TO PUT THE URL TO MAKE THE LINK… I QUOTE THE CODE ON HEADER.PHP:

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
    <html xmlns=”http://www.w3.org/1999/xhtml&#8221; <?php language_attributes(); ?>>
    <head profile=”http://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() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></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=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />
    <?php wp_head(); ?>
    </head>
    <body>
    <div id=”wrapper”>
    <div id=”wrapper2″>

    <div id=”header”>
    <div id=”logo”>
    <h1>/”><?php bloginfo(‘name’); ?></h1>
    <p><?php bloginfo(‘description’); ?></p>
    </div>
    <!– end #search –>
    </div>
    <!– end #header –>
    <div id=”menu”>

      <li class=”current_page_item<?php if (is_home()) echo ‘ current_page_item’; ?>”>/”>Home
      <?php wp_list_pages(‘title_li=’ ); ?>

    </div>
    <!– end #menu –>
    </div>
    <hr />

    <div id=”page”>
    <div id=”page-bgtop”>
    <div id=”page-bgbtm”>

Viewing 2 replies - 1 through 2 (of 2 total)
  • replace

    <div id="logo">
    <h1>/"><?php bloginfo('name'); ?></h1>

    with

    <div class="logo"><h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>

    Thread Starter issieparis

    (@issieparis)

    thnkx, now im trying to make it work only in a section of the header (image)…but i dont know if its posible… the link is http://www.visual.gi/blog

    The best would be that it be clickable only above the logo…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘MAKE THE HEADER CLICKABLE’ is closed to new replies.