Sidebar: Articles from same category

Posted in: Newspaper
Post count: 30

Hi TagDiv Team,

what I just tried was to find a way to add a block to my post-sidebar, which shows articles from the same category the current article is from MINUS the article the user is currently reading.

How can I manage to realize that?

Thanks!

  • This topic was modified 10 years by muggi15.
Post count: 22421

Hi,
Unfortunately blocks cannot detect the post category. Blocks can be filtered from block settings and added to the sidebar from the widgets area but there is no option to detect the current post and grab the category as a post filter. This is done by the related articles section but that element was created that way. Other blocks do not have this option unfortunately.
Thank you!

Post count: 1

related articles section not work properly !

Post count: 22421

Hi,
Please make sure you update your theme to the latest version as there was an issue with the related articles element that was fixed in the current version. Please use this guide: https://forum.tagdiv.com/how-to-update-the-theme-2/
Thank you!

Post count: 36

It would be nice to add “Current category” value in “Category filter:” drop down box, to detect current category.

This way it would be possible to use the same widget for all categories, instead of creating sidebars for each category.

Post count: 22421

Hi,

Thank you for your suggestion. I will pass this information on to the development team.

Thank You!

Post count: 12

It’s very odd that the widget blocks don’t filter out the post you’re currently on. What you currently can end up with is the post you’re viewing appearing on the sidebar, which just looks silly. This suggestion seemed to be to prevent that, which seems like a good idea? (Essentially a validation of not showing/skipping the post being viewed)

Post count: 22421

Hi,

Indeed there is no such detect in our theme and this could happen. This is already on our list though and we will look into it for future updates.

Thank you!

Viewing 8 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic.