News & Newsletter

Simple news (or blog) and newsletter plugin with statistics, mail logs, components and export & import.

Back to News & Newsletter Support

forums7529
forums7529

I've searched through the code but cannot find this.

Could you please explain how or where I can change the paging markup code?

<ul class="pagination">
 <li><a href="/latest-news/2?page=1" rel="prev">«</a></li>
 <li><a href="/latest-news/2?page=1">1</a></li>
 <li class="active"><span>2</span></li>
 <li><a href="/latest-news/2?page=3">3</a></li>
 <li><a href="/latest-news/2?page=4">4</a></li>
 <li><a href="/latest-news/2?page=3" rel="next">»</a></li>
</ul>

Last updated

gergo85
forums7529
forums7529

Thank you very much for the reply and suggestion gergo85, that was exactly what I needed.

Hessel
Hessel

Do you have a little example from the code markup? Copying the code from the blog plugin isn't helpful and neither is {{ post.prev.slug }}. Any help would be great.

gergo85
gergo85

Use the {{ post.prev().slug }} format. I will update the plugin tomorrow with this example.

Hessel
Hessel

Oke so the pagination ul appears on the blog page when the number of blog posts is more then PostsPerPage, however, the links behind the 1 and 2 don't work. What am I doing wrong here?

FIXED: For pagaination to work I had to set the Url to : /blog/:page?/:slug

Last updated

1-6 of 6