TECRIDIBLE
i need to show my blog post count! how?
Graham
TECRIDIBLE rename xtblog.twig to blog.twig
create new xtblog.twig with this code
{% if 'post_count' in data.translations.t_no_entries_found %}
{{data.entries|length}}
{%else %}
{% include ('blog.twig') %}
{% endif %}
Copy code Then
BELOW your main blog use
<xt:blog entries_per_page="0" t_no_entries_found="post_count" />
Copy code it has to be below so that blog_block_id does not get messed up if you want it above the blog you will have to fetch it from another page using xhr javascript