I’m working on templates for a client but I’m running into some troubles displaying information by category and I can’t quite figure it out. I am using this code:
{exp:weblog:categories}
<h2>Category: {category_name}</h2>
<p>{/exp:weblog:categories}</p>
<p>{exp:weblog:entries weblog="my_weblog" limit="10" status="open" paginate="both" rdf="off"} </p>
<p>{paginate}<br />
Page {current_page} of {total_pages} pages {pagination_links}<br />
{/paginate}<br />
<br />
{title}<br />
<br />
{/exp:weblog:entries}to produce a page that should display each title in a given category. Instead, all titles in all categories for that weblog are displayed. So, if I open a url such as /my_categories/category_1, I get a list of all titles in category_1, category_2, category_3, etc. instead of just category_1.
The code shown above works slick in other websites I have created but not this one and I am unsure of where to look to get this site corrected. Any help is always appreciated.