Forum
Blog post counts after blog add-on update to 4.5.2
I'm updating a site to blog 4.5.2 from blog 4.1. Currently on local dev server. However, the blog post counts aren't displayed in my archive.php page where I'm using
<?php perch_blog_categories(); ?>
I've updated my templates so that
<perch:blog id="qty" />
is now:
<perch:blog id="count.blog.post" />
but the blog post counts are not displayed. Is there anything else I should have done here??
What does
<perch:showall/>
give you?Oooh, that's a useful tag :-)
It gives me a value for each count.blog.post id.
So you can see the count you need?
Yes, the value is there.
Are you using a
perch:blog
tag within aperch:categories
region?Does it work if you change it to
perch:category
?OK, it's not
perch:blog
in aperch:categories
region but have changed to<perch:category id="count.blog.post" />
and that is working.Thanks