WordPress.org

Ready to get started?Download WordPress

Forums

jPages pagination for WordPress
[resolved] Paginate multiple tabs (11 posts)

  1. zmd
    Member
    Posted 5 months ago #

    Hi,
    I have recently activated your plugin. I am using the plugin to create pagination of different galleries within tabs. Few questions as below-
    1. How do I limit the number of galleries to show in each page?
    2. When I click on Page 2, no galleries are displayed. When I click on Page 3, the remaining four galleries will show. Similarly when I click on Page 4, no galleries will show but on Page 5 the remaining four galleries will appear.

    Please Please help.
    This is really urgent.
    Thank you.
    ZMD

    https://wordpress.org/plugins/wp-pagination/

  2. kishores
    Member
    Plugin Author

    Posted 5 months ago #

    Can you please provide me the link? So I can debug. Are you using multiple galleries in one page?

  3. zmd
    Member
    Posted 5 months ago #

  4. zmd
    Member
    Posted 5 months ago #

    LINK

    Didn't come earlier.

  5. zmd
    Member
    Posted 5 months ago #

    Yes I am using multiple galleries on one page.

  6. kishores
    Member
    Plugin Author

    Posted 5 months ago #

    you are using nextgen gallery. It's for default wordpress gallery. Currently it's for single gallery per page

  7. zmd
    Member
    Posted 5 months ago #

    Hi,

    If you check the link right now, it works perfectly for a number of galleries on the OOH tab. The problem arises when I try to place the same on the Connect tab.

    I really love this plugin. It is exactly what I was looking for. I am overall familiar with all the workings of WordPress, so even if there is any customisation needed and if you could explain me the same, I would try to do it on my own.

    Thank you for assistance.

  8. kishores
    Member
    Plugin Author

    Posted 5 months ago #

    This plugin uses this: http://luis-almeida.github.io/jPages/pagination.html

    /* when document is ready */
      $(function(){
        /* initiate the plugin */
        $("div.holder").jPages({
            containerID  : "itemContainer",
            perPage      : 10,
            startPage    : 1,
            startRange   : 1,
            midRange     : 5,
            endRange     : 1
        });
    });

    you need to add different id for different gallery in one page.

    I would love to have your patch.

  9. zmd
    Member
    Posted 5 months ago #

    By ID do u mean containerID which is "itemContainer" or div.holder which is jPages ??

    Please could you explain how to add different id's for the pagination to work on different tabs in one page.

  10. kishores
    Member
    Plugin Author

    Posted 5 months ago #

    /* when document is ready */
      $(function(){
        /* initiate the plugin */
        $("div.holder").jPages({
            containerID  : "id of second tab container",
            perPage      : 10,
            startPage    : 1,
            startRange   : 1,
            midRange     : 5,
            endRange     : 1
        });
    });

    same for others. write in your theme js file. It may work.

  11. kishores
    Member
    Plugin Author

    Posted 2 months ago #

    Thanks for the suggestion. I'll look into this.

Reply

You must log in to post.

About this Plugin

About this Topic