Help with Ad’s
-
Hello all. I am kind of new to wordpress and need help editting some of the php code. The theme i have is enabled for google adsense. it has 3 diffrent places for them: two in the header, and one in the sidebar. However, my google adsense account has gotten disabled (i honestly don’t know why….i did nothing wrong!). but thats a diffrent conversation haha. So i want to be able to use a diffrent ad company. Either clicksor, adbrite or bidvertiser. When i put the script in however, they do not showup (there is a place in the theme options where you paste the adsense code. it doesnt work work for other ad companies). my question is, how do i change it/add ads in those spots?
Here is an example of the adsense header code:
<div id=”topside”>
<div id=”topside-wrapper”>
<div id=”googleads”>
<?php $ad_728 = get_option(‘magaling_ad_728’); echo stripslashes($ad_728); ?>
</div>And the sidebar ad:
<?php
$ad_250 = get_option(‘magaling_ad_250’);
if (!empty($ad_250)) {
?>
<div id=”box-googleads” class=”box”>
<div class=”top”></div>
<div class=”mid”>
<h2>Advertisement</h2>
<div class=”interior”>
<?php echo stripslashes($ad_250); ?>
</div>
</div>
<div class=”bot”></div>
</div>
<?phpCan someone help me change those so they work with other ad publishers? OR, what can i do to put the script of the ads in that exact spot?
Much thanks.
TechInformants.com
- The topic ‘Help with Ad’s’ is closed to new replies.