Hi, I’m Pedro and I’m working for a client with this theme.
The question is simple, I want to display special banners excatly in the location for the 4 articles displayed at the top of the category template style 3 https://demo.tagdiv.com/newspaper/category/template-style-3/ at the right of the main article, I mean.
Obviously I can customize a page to look similar but I don’t get the category tags and sort menu or the background.
So, is there a way to enable the category header in a page?
Or… is there a way to enable Ads in the category template locations?
Thanks
Hi,
That is a big grid and those are all articles, all the big grids and blocks will only display articles. That is what these elements are created and designed to do. At the moment the category pages can only be customized in the theme panel
– https://forum.tagdiv.com/how-category-settings-work/
There are plans to change the category page functionality in the future. But the main point is that grids and blocks will only display posts, not banners (ads)
– https://forum.tagdiv.com/block-settings-guide/
Pages can be created in any way you want, there are many elements in the tagDiv composer and also added by the multi-purpose plugin. On pages you can also place ads, in category pages there is no option at the moment (except ads in the sidebar).
Thanks
So, is there any way to place and ad in categories like this?
Can I create a page with the header style 3 of a particular category otherwise?
Thanks
-
This reply was modified 8 years by
acdmin.
Inside the actual category page there is no spot for ad placement, at the moment. So you could only place ads in the sidebar. There are plans to modify the functionality of the category pages in a future update, to allow more customization. Sorry for any inconvenience caused.
You could try solutions provided in similar topics if you want
– https://forum.tagdiv.com/topic/ads-on-category-pages/
– https://forum.tagdiv.com/topic/how-to-add-or-created-ad-block-in-category-page/
Thanks
sorry, I’m working with the td_category_template_2.php and I want to place the ad shortcode after 6 articles but the code placed as they suggest is not working:
<?php
$postnum = 0;
while(have_posts()) : the_post();
if($postnum == 6) {
echo do_shortcode ('[td_block_ad_box spot_id="custom_ad_2"]');
$postnum = 0;
}
//view another category entry
$postnum++;
endwhile;
?>
Is not something that I have to display in article display view template td_module_5.php as I want to put the Ad after 6 posts?
Thanks
-
This reply was modified 8 years by
acdmin.
