Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to I set the active page number on page refresh? #27

Closed
njcoutinho opened this issue Nov 10, 2014 · 2 comments
Closed

How to I set the active page number on page refresh? #27

njcoutinho opened this issue Nov 10, 2014 · 2 comments

Comments

@njcoutinho
Copy link

When i click the pagination links my url gets updated i.e. ?page=1, ?page=2 .. etc.

On page refresh how do i set the active page number? Do I need to use the startPage option?

@eugenesimakin
Copy link
Collaborator

Yes, you need to use the startPage option (and get value from current url, for e.g.)
Otherwise, the startPage option will be 1 (by default).
If you solve this issue, please, let me know the solution. I include the code in plugin (or you can submit pull request).

@eugenesimakin
Copy link
Collaborator

Release 1.2.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants