Important security update, please update to Osclass 3.7.4
At Osclass we have changed our Privacy Policy and Terms of Use in order to adapt them to the new General Data Protection Regulation (GDPR). We want you to know what user data we store, what we need them for, and who we share them with in each specific case. Furthermore, we are making it even easier for you to exercise your right to manage your own data.
Our goal is that you enjoy the best possible experience with our website. As the GDPR comes into force, legislation requires us that you grant us permission—both to us and our partners—to store cookies in your browser. Remember you can find more information about what we do with your data by clicking here.
I accept Osclass SL’s Terms of Use and Cookies Policy and grant them permission to manage my data.
Hi,Yes, each theme can have a different HTML structure. This should work for Twitter:search-list.php:1.- Look for this line:Code: [Select]<?php while ( osc_has_items() ) { ?>and replace it with:Code: [Select]<?php $adSense_middle_pos = ceil(osc_count_items()/2); $ad_counter = 0; while ( osc_has_items() ) { ?>2.- Replace:Code: [Select] <?php } ?><?php } ?><div class="pagination">with:Code: [Select] <?php $ad_counter++; if ($ad_counter == $adSense_middle_pos) { //AdSense middle ?> <div class="line span11 columns"> [Specific AdSense code here] </div> <?php } } ?><?php } ?><div class="pagination">Replace "[Specific AdSense code here]" with your actual AdSense code.
<?php while ( osc_has_items() ) { ?>
<?php $adSense_middle_pos = ceil(osc_count_items()/2); $ad_counter = 0; while ( osc_has_items() ) { ?>
<?php } ?><?php } ?><div class="pagination">
<?php $ad_counter++; if ($ad_counter == $adSense_middle_pos) { //AdSense middle ?> <div class="line span11 columns"> [Specific AdSense code here] </div> <?php } } ?><?php } ?><div class="pagination">