Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

218
Views
How can I shorten my page counts in my pagination?

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.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!