hello
i am using dreamfree theme and osclass v4.4 and i paste the adsense code on ads management but the ads didnt show
css code that related to ads on theme
.mobail-header-ads, .mobail-main-ads,.mobail-foteer-ads {display: none;}
.for-ads-pbl{
text-align: center;
margin: 0 auto;
width: 100%;
margin-bottom: 15px;
}
functions code that related to ads on theme
osc_set_preference('header-728x90', trim(Params::getParam('header-728x90', false, false, false)), 'dreamfree');
osc_set_preference('homepage-728x90', trim(Params::getParam('homepage-728x90', false, false, false)), 'dreamfree');
osc_set_preference('sidebar-300x250', trim(Params::getParam('sidebar-300x250', false, false, false)), 'dreamfree');
osc_set_preference('sidebara-300x250', trim(Params::getParam('sidebara-300x250', false, false, false)), 'dreamfree');
osc_set_preference('search-results-top-728x90', trim(Params::getParam('search-results-top-728x90', false, false, false)), 'dreamfree');
osc_set_preference('search-results-middle-728x90', trim(Params::getParam('search-results-middle-728x90', false, false, false)), 'dreamfree');
osc_set_preference('rtl', (Params::getParam('rtl') ? '1' : '0'), 'dreamfree');
osc_add_flash_ok_message(__('Theme settings updated correctly', 'dreamfree'), 'admin');
osc_redirect_to(osc_admin_render_theme_url('oc-content/themes/dreamfree/admin/settings.php'));
break;
header code that related to ads on theme
<!-- inc.Menu.category -->
<!-- header ad 728x60-->
<div class="ads_header">
<?php echo osc_get_preference('header-728x90', 'dreamfree'); ?>
<!-- /header ad 728x60-->
</div>
<div class="wrapper">
</div>
sidebar code that related to ads on theme
<div id="sidebar">
<?php if( osc_get_preference('sidebar-300x250', 'dreamfree') != '') {?>
<!-- sidebar ad 350x250 -->
<div class="alert alert-success ads_item-sidebar alert-for-item" role="alert">
<?php echo osc_get_preference('sidebar-300x250', 'dreamfree'); ?>
</div>
<!-- /sidebar ad 350x250 -->
<?php } ?>
<div class="sidebar3">
<?php if( osc_get_preference('sidebara-300x250', 'dreamfree') != '') {?>
<!-- sidebara ad 350x250 -->
<div class="alert alert-success ads_item-sidebar alert-for-item" role="alert">
<?php echo osc_get_preference('sidebara-300x250', 'dreamfree'); ?>
</div>
<!-- /sidebara ad 350x250 -->
<?php } ?>
</div>
main code that related to ads on theme
<?php if( osc_get_preference('homepage-728x90', 'dreamfree') != '') { ?>
<!-- homepage ad 728x60-->
<center>
<?php echo osc_get_preference('homepage-728x90', 'dreamfree'); ?>
</center>
<!-- /homepage ad 728x60-->
<?php } ?>
i write to you all the codes that related to ads please tell me how to solve this problem