I have a template displaying a single entry, and need to display a list of all of the entries in the same category as the current entry.
Here’s what I have:
{exp:weblog:entries weblog="default_site" dynamic="off"}{title}{/exp:weblog:entries}
This does what I want except that it displays entries from ALL categories in my weblog. I need for it to display entries only from the current category. Since I use the same template for multiple categories, I need to get the category dynamically.
Any ideas for how can I get the category of the current entry so that I can filter the entries tag so that only entries that match the current category display?