Hello,
I would like that, in all category pages, the “top posts” are the posts with that category and the category=”Featured” and in the “ARTICLE DISPLAY VIEW” will show the post not “Featured”.
For example:
I have 60 posts in Category “Test”, 6 of them are also in category “Featured”.
I would like that, when I display the page category “Test” the 6 top posts are the Featured posts than the 54 posts not Featured.
Hello,
Sorry but in order to do this you would have to change the implementation for both the top post grid and the post loop on the category for one to show the featured posts and for the other to prevent showing the posts marked as featured. Unfortunately this is not an available option in our themes. It can only be done with customization. Unfortuantly it will not be an easy modification to make. You can hire a freelancer to help out with this task if you need to implement it.
Thanks.
Hi,
You could use a block shortcode and edit the category template or top post template. Create a block in a page then use that code like this
– https://www.screencast.com/t/r7SU5dc6N0
Enter it in the category template
– https://www.screencast.com/t/X2dSX18U5rK
– https://www.screencast.com/t/8r1UJxcdP
Or the top post style that you are using
– https://www.screencast.com/t/qIHxE53ProHd
– https://www.screencast.com/t/POrZs5D44zSy
<?php echo do_shortcode ('your shortcode here'); ?>
Please note that this may or may not work properly, the category pages cannot be edited by default or allow you to place elements in the structure.
Thanks
I’ve solved it.
I think it’s a great feature for future Newspaper Updates!
<?php
$category = get_the_category();
echo do_shortcode ('[vc_row][vc_column][td_block_big_grid_fl_3 sort="featured" category_id="'.$category[0]->cat_ID.'"][/vc_column][/vc_row]');
?>
See this screenshot:
https://www.screencast.com/t/VaPOz43VvuY
Hi,
At the moment the category pages cannot be edited as a normal page. Settings can only be made through the theme panel or customization like this. This may change in future updates.
Thank you for posting your solution here, this may be helpful for other users with similar requests.
Thanks
Hello Guys,
I’ve tried to add this code in thr single loop post but it’s not showing on mobile
<?php echo do_shortcode (‘[vc_row][vc_column width="2/3"][td_block_21 custom_title=”Latest Articles” block_template_id=”” sort=”random_posts” ajax_pagination=”load_more” tdc_css=”eyJhbGwiOnsiYm9yZGVyLXN0eWxlIjoibm9uZSJ9fQ==”][/vc_column][vc_column width="1/3"][/vc_column][/vc_row][vc_row][vc_column][/vc_column][/vc_row]‘); ?>
Hi,
That would be the case if the mobile theme plugin is active. Page builder content will not be displayed on mobile, when the plugin is active. Please check this mobile theme guide
– https://forum.tagdiv.com/the-mobile-theme/
If you want to display blocks on mobile, simply deactivate the mobile plugin. This is optional.
Thanks
Hi,
@bdundar The news ticker is a page builder element, the page builder is not available for posts. This could only be done by modifying the post template files and adding the shortcode for the ticker, similar to the solution presented above.
The post template files are located in the main theme folder
– https://www.screencast.com/t/sE9JU9U2NJUt
Edit the template file corresponding to the post template used for the post, and insert the ticker if that is absolutely required.
Thanks