Ready to get started?Download WordPress


Linking Logo in Theme (3 posts)

  1. futurepocket
    Posted 3 years ago #

    I want to link the logo: http://www.futurepocket.com to the blog homepage, here is some code from the header.php:

    <div id="header" class="clearfix">
    	<div id="head-content" class="clearfix">
    			<?php if (is_home()) {  ?>
    			<h1><?php bloginfo('name'); ?></h1>
    			<?php } else { ?>
    			<div class="title"><?php bloginfo('name'); ?></div>
    			<?php } ?>
    			<div class="description"><?php bloginfo('description'); ?></div>

    Any ideas how I can do that?

  2. money-maker
    Posted 3 years ago #

  3. futurepocket
    Posted 3 years ago #

    Yup, that's exactly what I ended up doing except I kept the header div class because otherwise it would mess up the ads I'm going to put in later on the right side of the banner. Thanks for your response :).

Topic Closed

This topic has been closed to new replies.

About this Topic