Hello sapito,
Unfortunately, our theme does not have such an option and for achieving that is needed to do some additional customizations through code. Please check this link here -> https://forum.tagdiv.com/topic/category-page-ads/ and try to implement yourself this customization. Also, please notice that is not a simple task and is only for the advanced users which have solid knowledge for PHP/HTML/CSS. If you want to display more levels in our theme and you are not aware to the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide custom services at the moment, sorry!
Thank you for the message!
Hello sapito,
If you want to add some Ads for your search page you have to edit the search.php core file in order to achieve as you wish. Also, you have to use the do_shortcode method for this implementation, like this -> http://screencast.com/t/nL5jmKdHjdD
The code is ->
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]'); ?>
Thank you for the message!
Thanks for your reply.
In the categories page i added the next code (and it work excellent):
$adcounter = 0;
$adcounter++;
if (is_category()) {
if ($adcounter == 1) {
echo do_shortcode(‘[td_block_ad_box spot_id="custom_ad_4"]‘);
}
elseif($adcounter == 3){
echo do_shortcode(‘[td_block_ad_box spot_id="custom_ad_5"]‘);
}
}
How must i do to do the same in the search results page?
Thanks!
-
This reply was modified 10 years by
sapito.
Hello sapito,
As you can see here -> https://codex.wordpress.org/Function_Reference/is_search the search page is called by the WordPress through is_search. Please try to implement through the same method and for search page and replace the is_category() with is_search() and see how it works. If you need more additional customizations in this regard, please consider hiring a freelancer/developer to help you because we cannot provide customization services at the moment, sorry!
Thank you for your understanding!