Recent Topics

1 Sep 10, 2005 08:49    

I want to put a google ad someplace where it'll be noticed, but I'm running l33t-gray which doesn't have a sidebar (All the sidebar boxes are at the bottom), and at the top I have my phpAdsNew affiliate program banner rotation...so I'd just like a *Bam!* right-where-you're-looking place to put a google ad.

So, I'm wondering, is there, or is it possible to hack, a way to seperate the latest post from the rest of the posts? So I can do, something like this:

[Top of Page]
v
[Latest Post]
v
[Google Ad]
v
[Other 9 posts]
v
[Sidebar Boxes]

I'm customizing the skin to suit my needs, but I'm like totally html/php/stylesheet-illiterate. (Dammit, Jim. I'm an artist not a coder!) So any help would be appreciated.

2 Sep 10, 2005 10:13

Find something that looks like this in your blog main :-

			locale_restore_previous();	// Restore previous locale (Blog locale)
			?>
</div>
<?php } // ---------------------------------- END OF POSTS ------------------------------------ ?>

and change it to :-

			locale_restore_previous();	// Restore previous locale (Blog locale)
			?>
</div>
<?php
    if ( ! $shown_advert )
    {
?>
      <div>Your advert goes here</div>
<?php
      $shown_advert = 1;
    }
 } // ---------------------------------- END OF POSTS ------------------------------------ ?>


¥

3 Sep 10, 2005 14:52

Thanks, worked perfectly. ^_^ (If you want to see, go to my blog and select GPMoD_Test-Type for the skin)


Form is loading...