* Tecridible i need to show my blog post count! how?
2018-06-18 19:32 · (0)
* 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
2018-06-23 01:51 · (0)

Online: Guests: 1