Use of side wide (google) advert code in side bar not working, but is in advert-sidebar.php


Perhaps allready known, but in advert-sidebar.php (located in /library/components) there is:
$wide_advert_code = get_option('dev_buddydaily_wide_advert_code');

But in the theme options there is no place to ad a wide advert code, only a left- and/or right advert, so it can't be used.

I fixed it for myself by changing the above line of code into:
$wide_advert_code = ".";

And changed:
<?php echo stripslashes($wide_advert_code); ?>

<?php echo '<a href="" rel="nofollow" onmouseover="window.status=\'Digitale Gemeente Hollands Kroon\'; return true;" onmouseout="window.status=\'\'; return true;" target="_blank"><img src="" alt="Digitale Gemeente Hollands Kroon" style="width: 300px; height: 250px; border: 0px;" /></a>'; ?>

Window status and alt ain't working, but I got my wide advert in it now :slight_smile: