Title: dynamic pagination
Last modified: November 10, 2017

---

# dynamic pagination

 *  Resolved [kmoty](https://wordpress.org/support/users/kmoty/)
 * (@kmoty)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/)
 * Hi,
 * Your plugin is awesome. But I have question.
    Is it possible that: when i change
   page of reviews page didn´t refresh and link are still same. Now is link [https://www.orin.sk/bioquant/](https://www.orin.sk/bioquant/)
   and after [https://www.orin.sk/bioquant/page/2](https://www.orin.sk/bioquant/page/2).
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdynamic-pagination-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/dynamic-pagination-2/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/dynamic-pagination-2/page/2/?output_format=md)

 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/#post-9671134)
 * H [@kmoty](https://wordpress.org/support/users/kmoty/)
 * If I understand correctly, you are referring to Ajax pagination (using javascript
   to control pagination without a page refresh).
 * This feature is next on the [roadmap](https://github.com/geminilabs/site-reviews/blob/develop/ROADMAP.md)
   to be added.
 * Thanks
    -  This reply was modified 8 years, 7 months ago by [Gemini Labs](https://wordpress.org/support/users/geminilabs/).
 *  Thread Starter [kmoty](https://wordpress.org/support/users/kmoty/)
 * (@kmoty)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/#post-9680227)
 * I saw that ajax pagination was added. How i activate it? I have updates but pagination
   is still same.
 * Thanks 🙂
 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/#post-9681807)
 * The feature is being tested and will be released with v2.8.0
 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/#post-9682056)
 * v2.8.0 is released. To enable dynamic (ajax) pagination, modify your shortcode
   as shown below:
 * `[site_reviews pagination="ajax" id="some-random-text"]`
    -  This reply was modified 8 years, 7 months ago by [Gemini Labs](https://wordpress.org/support/users/geminilabs/).
 *  Thread Starter [kmoty](https://wordpress.org/support/users/kmoty/)
 * (@kmoty)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/#post-9684165)
 * I tried it, but when i want to shift on next page of reviews all disappear.
 * Check on it [https://www.orin.sk/bioquant/](https://www.orin.sk/bioquant/)
 *  [vertigofactory](https://wordpress.org/support/users/vertigofactory/)
 * (@vertigofactory)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/#post-9685265)
 * same for me, I get this message into the inspector:
 *     ```
       Uncaught DOMException: Failed to execute 'querySelectorAll' on 'Document': 'div.glsr-reviews.' is not a valid selector.
   
       at [domain]/wp-content/plugins/site-reviews/assets/js/site-reviews.js?ver=2.8.0:1:8930
   
       at XMLHttpRequest.r.onreadystatechange ([domain]/wp-content/plugins/site-reviews/assets/js/site-reviews.js?ver=2.8.0:1:5001)
       ```
   
 * thank you!
 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/#post-9685414)
 * Thank you [@vertigofactory](https://wordpress.org/support/users/vertigofactory/),
   that tells me exactly what is wrong. Sorry for the inconvenience, I’ll have that
   fixed shortly.
 * If you would like a quick solution until then, you can simply add `class="temp"`
   to the [site_reviews] shortcode to fix it.
 *  [vertigofactory](https://wordpress.org/support/users/vertigofactory/)
 * (@vertigofactory)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/#post-9685423)
 * you’re welcome 🙂 thanks for your suggestion 🙂
 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/#post-9685579)
 * [@vertigofactory](https://wordpress.org/support/users/vertigofactory/), [@kmoty](https://wordpress.org/support/users/kmoty/)
 * I have released Site Review v2.8.1 which should fix ajax pagination. Please let
   me know if it works now for you, and thank for helping me catch this quickly!
 *  [vertigofactory](https://wordpress.org/support/users/vertigofactory/)
 * (@vertigofactory)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/#post-9685629)
 * it works for me 🙂
    may I suggest you to add a “scrollToTop” feature after requesting
   for a new page through AJAX? maybe with something like an animated spinner to
   indicate that something is loading, how about this idea?
 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/#post-9686659)
 * [@vertigofactory](https://wordpress.org/support/users/vertigofactory/)
 * I have just released v2.8.2 which adds scroll and loading animations on ajax 
   pagination.
 *  [vertigofactory](https://wordpress.org/support/users/vertigofactory/)
 * (@vertigofactory)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/#post-9688178)
 * [@geminilabs](https://wordpress.org/support/users/geminilabs/) perfect, great
   job. Thanks a lot 🙂
 *  [stgogos](https://wordpress.org/support/users/stgogos/)
 * (@stgogos)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/#post-9839775)
 * Hello there,
 * Happy new year to everyone!
 * I am having some problems with the “ajax” pagination.
 * The page I need help for is this:
 * [https://www.worldvespa.net/%CF%81%CF%8D%CE%B6%CE%B9-%CE%BA%CE%B1%CE%B9-%CF%87%CF%8E%CE%BC%CE%B1/](https://www.worldvespa.net/%CF%81%CF%8D%CE%B6%CE%B9-%CE%BA%CE%B1%CE%B9-%CF%87%CF%8E%CE%BC%CE%B1/)
 * Sorry it’s in Greek, but somewhere near the end of the page you’ll be able to
   see the link towards “page 2” of the people’s reviews.
 * Here’s a screenshot of how the link looks like (to help you cause it’s in Greek)
   
   [https://1drv.ms/i/s!As5qMg1lt6uvlmIaUiBYL5ZUe9Y-](https://1drv.ms/i/s!As5qMg1lt6uvlmIaUiBYL5ZUe9Y-)
 * I tried the “true” pagination and works fine, but when I switched to “ajax” and
   then shift on next page of reviews, they all disappear and it keeps on loading
   forever.
 * Thanks in advance,
    Stergios
 * PS I am using – WordPress Version 4.9.1
    – Site Reviews Version 2.9.5 and browsing
   with Google Chrome Version 63.0.3239.84 on a Windows 7 64 PC
    -  This reply was modified 8 years, 5 months ago by [stgogos](https://wordpress.org/support/users/stgogos/).
      Reason: wordpress version
 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/#post-9839803)
 * If it keeps on loading forever then it sounds like a JavaScript problem. Have
   you passed an “id” attribute to the shortcode? (i.e. [site_reviews id=“randomtext”])
   
   It could also be a conflict with another plugin. I’ll have a look at it later
   today.
 *  [stgogos](https://wordpress.org/support/users/stgogos/)
 * (@stgogos)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/#post-9839813)
 * Yes, I have passed an “id” attribute to the shortcode.

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/dynamic-pagination-2/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/dynamic-pagination-2/page/2/?output_format=md)

The topic ‘dynamic pagination’ is closed to new replies.

 * ![](https://ps.w.org/site-reviews/assets/icon-256x256.gif?rev=3307009)
 * [Site Reviews](https://wordpress.org/plugins/site-reviews/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/site-reviews/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/site-reviews/)
 * [Active Topics](https://wordpress.org/support/plugin/site-reviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/site-reviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/site-reviews/reviews/)

## Tags

 * [pagination](https://wordpress.org/support/topic-tag/pagination/)

 * 22 replies
 * 4 participants
 * Last reply from: [stgogos](https://wordpress.org/support/users/stgogos/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/dynamic-pagination-2/page/2/#post-9847576)
 * Status: resolved