Forum
show blog categories for one blog from multiple blogs
When I try to display a list of categories from a single blog Perch Runway is returning all categories from the multiple blogs I have setup. What am I doing wrong?
I'm using this:
perch_blog_categories(array(
'blog' => 'faqs',
'cache' => false,
));
Help appreciated
If you turn on debug, what does it output?
Updated.
I can't see it querying categories at all - are you sure the above code is on the page the debug comes from?
I've edited the debug message with the output from the right page this time (sorry).
Yes, it doesn't look like it's correctly filtering by blog. I can see it looking up which blog to filter by, but with no evidence of that being correctly used.
On the page I'm calling:
on the template 'category_list.html'
The second blog was added at a later date. Could there be some residual data in the database that's having an affect?
No I don't think so. It just looks like a bug.