Note: I wanted to point out that I will say "looks something like". The reason for this is the forums here does strip some of the code out, so being exact is slim. Also, I don't know if what I used for an example is stock. I do have a tendency to modify things.
This is an easy one, I've done it many times. Go into the theme folder and open the file theme.php.
Do a search for:
(Occurs twice):
Now, if you want the add if you have one to show up in the location, then you only want to cancel out the second one. So what you want to do is find the one that looks like:
and wrap a /* */ around it so it looks like this:
Now, if you dont want the banner ad to be there as well, (if you have one that is), then wrap both sections in the /* and */. I should look something like this if done right:
You can see what I did on the example here:
which shows me canceling out the banners and the content boxes.
This is an easy one, I've done it many times. Go into the theme folder and open the file theme.php.
Do a search for:
(Occurs twice):
PHP: [ Select all ]
contentboxes();
Now, if you want the add if you have one to show up in the location, then you only want to cancel out the second one. So what you want to do is find the one that looks like:
PHP: [ Select all ]
if (defined('HOME_FILE'))
{
if ( $ThemeInfo['contentboxes'] == 'yes' )
{
echo'<div class="contentboxes">';
contentboxes();
echo'</div>';
}
}
and wrap a /* */ around it so it looks like this:
PHP: [ Select all ]
/* if (defined('HOME_FILE'))
{
if ( $ThemeInfo['contentboxes'] == 'yes' )
{
echo'<div class="contentboxes">';
contentboxes();
echo'</div>';
}
} */
Now, if you dont want the banner ad to be there as well, (if you have one that is), then wrap both sections in the /* and */. I should look something like this if done right:
PHP: [ Select all ]
/* if (!empty($banners)){
echo '<div id="adsmain">'."
";
echo ads(0);
echo '</div>'."
";
}
if (defined('HOME_FILE'))
{
if ( $ThemeInfo['contentboxes'] == 'yes' )
{
echo'<div class="contentboxes">';
contentboxes();
echo'</div>';
}
} */
You can see what I did on the example here:
Please login to see this link Get registered or Log in |
which shows me canceling out the banners and the content boxes.
That too, I completely forgot about that.
Got it thanks fellas.