Show Pagination in post page


eg - https://prnt.sc/mx57c7

<div class="post-no-pagination">
      {% set totalPostCount = blog_total_post_count(group.id) %}
      {% set rec_posts = blog_recent_posts(group.id, 5000) %}
      {% for rec_post in rec_posts|reverse %}
      {% if content.absolute_url == rec_post.absolute_url %}
      <strong class="post-count"> {{ loop.index }}</strong>
      {% endif %}                           
      {% if loop.last %}
      <span class="total-count">/ {{ totalPostCount }}</span>
      {% endif %}
      {% endfor %}
    </div>



Comments

Popular posts from this blog

Pagination of multiple recent post blog

Service Filter

When You Want to open popup(first time load)