I have a content of 20 available. I am creating it manually via html. I paginated them with a tiny plugin. But I want 1,2,3 ... , 10 in pagination. But it shows all 10 pages one by one and this takes up a lot of space. What is the jquery code I can fix this? I have shared the sample codes below. The little plugin I use for pagination is called Paginga Jquery. https://www.jqueryscript.net/other/Any-Content-Pagination-Plugin-For-jQuery-paginga.html I downloaded it from this page.
This is the image I'm talking about https://prnt.sc/dhweZyY-iZJ-
This is the image I want it to be https://prnt.sc/m947qxN67ANA
My Html Codes
↓↓↓↓↓↓↓↓↓↓
<div class="paginate">
<div class="items">
<div class="box">
<div class="row">
<div class="col-sm-5">
<img src="image/url.jpg" alt="...">
</div>
<div class="col-sm-6">
<h3>title text</h3>
<p>text</p>
</div>
</div>
</div>
</div>
<div class="pager">
<div class="pageNumbers"></div>
</div>
</div>
My Javascript Codes
↓↓↓↓↓↓↓↓↓↓
$(".paginate").paginga({
// how many items per page
itemsPerPage: 2,
// item container selector
itemsContainer: ".items",
// item selector
item: "> div",
// initial page
page: 1,
});
Thank you in advance for your help.