Recent Card customization

Technical Support
  • Hi,

    We have recent card widget activated in both categories.tpl and categoy.tpl...

    It is all good in categories.tpl, it shows global recent posts... When we click a certain category (category X), I wonder if it is possible to see only recent posts from category X... So, when we click another one (category Y), it will only shows recent posts from category Y. I wonder what to type in Category ID to show topics from to achieve this.

    I am assuming this is possible because in html boxes there is a setting called Set the category IDs you want to display this widget on , so the setting should basically be "posts from X should be seen in X", "posts from Y should be seen in Y" etc. but this setting does not exist in recent card widget.

    Any ways to achieve this?

    Thanks.

  • Sure... it depends on how you set up the widget. Instead of adding it to the global widget area, add it to categories.tpl

    Then add another inside category.tpl, which is for each individual category. Then you can restrict it to specific categories (and have it only show up on specific categories).

    If you want category-specific recent posts to show up on every single category, you might need to create a separate widget for each category 😬

  • @julian said in Recent Card customization:

    Sure... it depends on how you set up the widget. Instead of adding it to the global widget area, add it to categories.tpl

    Then add another inside category.tpl, which is for each individual category. Then you can restrict it to specific categories (and have it only show up on specific categories).

    If you want category-specific recent posts to show up on every single category, you might need to create a separate widget for each category 😬

    Yes, but I cannot set it this way, because category restriction setting does not exist in "recent cards" widget. It exists in all others...

    Or, do we have problem/mistake in our recent cards widget?


Suggested Topics