Osclass Support Forums
Osclass theme support => Beta Osclass Theme => Topic started by: oneloveb on April 26, 2021, 10:47:46 PM
-
Hi,
Since when I bought the Beta theme Public profile Adsense not display
Kindly advise on what to do
Thanks
-
I was able to find both banner blocks in user public profile file.
<?php echo bet_banner('public_profile_sidebar'); ?>
<?php echo bet_banner('public_profile_bottom'); ?>
-
Yes, both banner block code is there but Adsense not display
<?php echo bet_banner('public_profile_sidebar'); ?>
<?php echo bet_banner('public_profile_bottom'); ?>
-
But that is not problem of theme if adsense display or no.
Enter into these banners simple text, i.e. TESTING BANNER and if text is visible in front, everything is alright on theme side.
-
I just did what you said by input the text to the public profile sidebar and button TESTING BANNER and the text is not appealing at all
Thanks
-
@oneloveb
Thanks for feedback, problem is in functions.php
Find this:
array('id' => 'public_profile_sidebar', 'position' => __('Public profile sidebar', 'beta')),
array('id' => 'public_profile_bottom', 'position' => __('Public profile under items', 'beta'))
Replace with:
array('id' => 'banner_public_profile_sidebar', 'position' => __('Public profile sidebar', 'beta')),
array('id' => 'banner_public_profile_bottom', 'position' => __('Public profile under items', 'beta'))
-
WORKED THANKS ;D