post this function u talked about and a copy of index.php 🙂
FUNCTIONS.PHP
[ 674 lines of code moderated. For more than 10 lines of code please pastebin.com instead. ]
INDEX.PHP (Theme folder index)
[ Code moderated. For more than 10 lines of code please pastebin.com instead. ]
try changing
$theme_ads_block_number = get_option(‘theme_ads_block_number’);
to
$theme_ads_block_number = 0;
dont forget to back it up b4 u do it
tell me if it works
well, then u should find the place in index, sidebar, or something like this where the function theme_ads_show is used
u have this site online?
according to my little knowledge in code i think that the function is declared in the functions.php but another php file (the main file i think) has this function so if it execute the main file and then goes to seek for the function and it can’t find it because i delted it … so i think i have to find where this function is used and not declared
UPDATE : problem solved ==
I founded something in footer.php like
<!-- ADS start -->
<div id="right_ads">
<? theme_ads_show(); ?>
<!-- ADS end -->
</div>
and turned it to
<!-- ADS start -->
<!-- ADS end -->
</div>
The ads disepears but there’s a resolution(px) problem, not big deal i’ll find another theme at least, i learned something.
Thank you.
Cordialy,
iTony78
UPDATE : problem solved ==
I founded something in footer.php like
<!-- ADS start -->
<div id="right_ads">
<? theme_ads_show(); ?>
<!-- ADS end -->
</div>
and turned it to
<!-- ADS start -->
<!-- ADS end -->
</div>
The ads disepears but there’s a resolution(px) problem, not big deal i’ll find another theme at least, i learned something.
Thank you.
Cordialy,
iTony78