Hi,
My related articles are set to display by “category”
However, if there a way for the related articles to ignore the category “Featured”, as it makes it display irrelevant related articles.
Thanks!
Hi,
You could try to follow the suggestion Bogdan provided in a similar topic – https://forum.tagdiv.com/topic/random-related-posts-from-other-categorys/ and use Visual composer on posts to create a block with the desired filters.
Or you can make modifications to the theme files as suggested in this topic – https://forum.tagdiv.com/topic/related-articles-3/ to display posts only from specific categories.
Thanks
Well, that’s a huge workaround.
The “Featured” category is not really a category (you even made its tag invisible) : its main intended use is to promote specific articles.
To be honest, is should be included in the theme code not to take this category into consideration in the related posts.
Creating custom related blocks with the desired filter for 300 pages is not really a realistic option đ
As for your suggestion to modify the theme files as in https://forum.tagdiv.com/topic/related-articles-3/. This is irrelevant, as I’m not trying to set a specific category, but trying to avoid a category (which is not really one) from being used
Hi,
Try it this way, find your Featured category ID – https://www.screencast.com/t/uOchw6edug and use that like this in the file mentioned in that topic – https://www.screencast.com/t/aQoOs2XP
Now the related posts displayed should not be picked from the featured category anymore. Please let me know if this is a solution for you.
Thanks
Thanks, worked wonders.
How can I implement that on the mobile theme too?
Hi,
You will need to make the modifications here – https://www.screencast.com/t/RHvvBclVs and it should work properly on mobile too.
Thanks
Actually, this solution is not really exactly the best one.
It doesn’t not really ignore the Featured category
Let’s say I have an article in the category “Kitchen”
This article happens to be one of the featured articles, so it therefore gets this fake “Featured” category to be promoted on the homepage.
The article now has “Kitchen” and “Featured” as category.
With the solution given, this article will never appear in any “Kitchen” related posts, even though it’s in the “Kitchen” category
Any other realistic option?
Hi,
There is no easy solution in this case. If a post has the featured category and another category assigned to it, you cannot ignore one and use the other with the current implementation and options for the related posts. What you could do is to disable the related articles on the post page, and then enable Visual composer on posts in order to create and use a block instead of this feature – https://www.screencast.com/t/gswiM6T1A Then use that blocks filtering options to display the posts you want. But Visual composer was not tested for posts and maybe it will not work properly, but you can give it a try if you want to achieve this.
Thanks
Ok I see, so it’s not really realistic to implement on almost 300 pages.
My two cents is that the devss should really look into better implementation of the Featured “Category”.
It is a good idea and it’s really handy to promote specific articles, but it should be totally ignored everywhere, unless specifically told not to (such as in featured blocks).
Hi,
Maybe additional options will become available for this section in the future or for the featured category, but at the moment the related articles has no options for advanced filtering. If this request becomes more popular it will be considered as a possible implementation by default in the theme. I am sorry that I could not provide a more satisfying solution for you in this case.
Thank you for understanding!