I have a couple of questions. I have this blog and it has a PHP ads block where I can put 125x125 ads on the side. The thing is it does not want to use script ads like google ads or ANY ads. It wants to use pictures and links. How do I make it take script ads? Next is up top it shows the site name. I want to get rid of the text name and put a banner. I put a banner but it shows above the text also. I want to replace the site name made of text and just use a banner. Thanks
Is the php ads block in a separate file? It would be labeled something like ads.php or banners.php in your directory, if so..go directly into that file and edit the links/banners in that file. The php code you're looking at is most likely in the header?..and it calls to that file in the directory. As for the text showing up in the header, I usually look for the css coding for the <h1> text and add a text-indent: -9999px; this way the text is hidden but you still receive the SEO for your header, then just add a css class to add to your header in whatever position you want the banner to show up. You can edit all of that in the .css file.
Usually themes has a labeled with ads.php or banners.php in the themes directory, you can edit this by changing the scripts.
It is labeled as ads.php in the theme editor. That is the only place it is found. When I edit it and add my google ad script or any other ad script that is 125x125 it just makes the whole block disappear and the ad wont load.
Sounds like the block size is too small for the ad to load - i.e. nothing to do with the ads but everything to do with the size of the space you are trying to squeeze it into. I'd suggest trying to make the place the ad is supposed to appear a little bigger. Try making the space 200x200 to begin with just to see if the ad loads. Make sure the space isn't further confined within another table or something. It'll break the layout but all you want to do is see if you can get the ad to load, then you'll know where the problem lies.
Can you please post the content of the ads.php here. I could take a look and tell you what to do with the code.
Here is the code. <?php ?> <div class="ads"> <ul> <li><a href="#"><img src="<?php bloginfo('template_url'); ?>/images/ad.jpg" alt="Your Ad Here"></img></a></li> <li><a href="#"><img src="<?php bloginfo('template_url'); ?>/images/ad.jpg" alt="Your Ad Here"></img></a></li> <li><a href="#"><img src="<?php bloginfo('template_url'); ?>/images/ad.jpg" alt="Your Ad Here"></img></a></li> <li><a href="#"><img src="<?php bloginfo('template_url'); ?>/images/ad.jpg" alt="Your Ad Here"></img></a></li> </ul> </div>
Remove the <php> at the top and then put your ad blocks between the <li></li> if there is a php endif code at the bottom remove that too, it's not necessry. Each ad block should have a separate <li> replace this code <a href="#"><img src="<?php bloginfo('template_url'); ?>/images/ad.jpg" alt="Your Ad Here"></img> with your ad code. Your ads will show up after you do the above.