View Full Version : More advertising

05-29-2010, 04:01 AM
Is there a way to add a couple more spots in the sidebar for advertising?


05-29-2010, 03:11 PM
Go to templates/[yourtemplate]/pages/sidebar.php and add the following code wherever you want the ad to be

<div class="ad_small_square">
<?php advert('small_square'); ?>

05-29-2010, 09:32 PM
Thanks M-A-R-K, I had done that, but couldn't get extra ads to show up.

The other spots where I have placed the code just have a blank space and no ads would show up.

I have done a bit of coding, etc. and thought this was going to be simple.

I must be missing something.

05-30-2010, 01:54 AM
Hey Dutch1,

Google only allows 3 ad spots on one page. Any other advert will not load. So the code is working, but the ad isn't loading.

Solution, either don't place another ad in the sidebar, or remove one of the other ads so there will only be three ads on the page.

05-30-2010, 02:04 AM
Thanks, I never thought of that.

05-30-2010, 02:15 AM
no prob :)