BranfordMagazine Question

by kah22
0 replies
Decided to post here because it's more of a coding problem than anything else.

I'm currently creating a blog using the BranfordMagazine theme. (see demo at BranfordMagazine).

Currently my left column supports three snippets with an image placed above each of these. What I'm trying to do is to place a adsense square between the second and third snippet. By trial and error all I've been able to do is to place the google ad above the first post or to place the google ad above all of the snippets. The first one is OK'ish, the second looks over the top.

Not been php literate I'm working with a piece of code from another blog I have: <?php include('adsense_homepost_top_square.php') ?> which links to my adsense homepost file and just experimenting with placing it in various spots but with no success.

The thought had crossed my mind that rather than have an image above the second post that I place an image ad there instead. Would that be doable and if so how?

I have most of my other problems mainly under control my concern at the moment is trying to place an ad between the first and second snippets of the left column - any suggestions? Is it doable?

As always thanks for any assistance

Kevin

This seems to be the piece of code that needs altered.

Code:
  <div id="leftcol">
    <?php 
// "Featured articles" module begins
	query_posts('showposts=3&cat=4'); ?>
    <h3>

      <?php 
	// name of the "featured articles" category gets printed	  
	wp_list_categories('include=4&title_li=&style=none'); ?>
    </h3>
    <?php while (have_posts()) : the_post(); ?>
    <div class="feature">
      <?php
// this grabs the image filename
	$values = get_post_custom_values("featuredarticleimage");
// this checks to see if an image file exists
	if (isset($values[0])) {						
?>
      <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('url'); echo '/'; echo get_option('upload_path'); echo '/'; 
// this is where the custom field prints images for each Feature	  
	$values = get_post_custom_values("featuredarticleimage"); echo $values[0]; ?>" alt="featuredimage" /></a>
      <?php } ?>
      <a href="<?php the_permalink() ?>" rel="bookmark" class="title">
      <?php 
// title of the "featured articles"	  
	  the_title(); ?>
      </a>
      <p>
        <?php the_content_rss('', TRUE, '', 20); ?>
      </p>
    </div>
    <?php endwhile; ?>
  </div>
  <!--END LEFTCOL-->
#branfordmagazine #question

Trending Topics