Replace pagination with "show more" button / ajax post loading
This topic contains 11 replies, has 5 voices, and was last updated by giuseppe cuttone 4 years, 7 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support TicketTagged: infinite scroll, map
-
AuthorPosts
-
March 6, 2020 at 9:34 am #533959
Hi. I was wondering if it’s possible to replace the pagination with a dynamic “show more” link or even automatic loading of x more posts when the user scrolls to the bottom of the page.
An example for what I mean is the way Youtube loads more videos every time you scroll to the bottom of the page.
March 6, 2020 at 9:42 am #533966Some people have added infinite scroll plugins with some success.
Thanks
March 6, 2020 at 11:34 am #533988Thank you, do you have any examples?
March 6, 2020 at 12:45 pm #534020This reply has been marked as private.March 26, 2020 at 9:36 pm #536969I’m looking for a solution for this. Were you successful?
ThanksMarch 26, 2020 at 10:14 pm #536972I have only seen some plugins that, if they work with GD, a lot of GD features no longer work.
Feel free to test any infinite scroll plugins. Let us know how you went.Thanks
March 26, 2020 at 10:47 pm #536979I’m honestly surprised this isn’t an available option.
March 27, 2020 at 3:47 am #537012I have added it as a feature suggestion and the developers will consider adding it.
March 27, 2020 at 10:08 am #537044Hi. We finally opted not to implement it, because it doesn’t integrate well with the map, which in our case is at the top of the page. We’ll keep the pagination.
April 13, 2020 at 12:58 pm #539814Hi @grenzecho @guust @wyohost @ayecode_alex and @stiofan
I am very happy to see how others people are asking about infinite scroll.
You should considerate I asked to GD team about this feature 3 years ago… But from beginning no very good interest was showed from developers… and that surprised me because “infinite Scroll” is one of the most powerfull features maked in developer’s world.
So I tried to find an external solution. The unique solution I found was DMD plugin
I suggested to DMD developer to make a payment addon because free version was not all compatible.
So DMD developer opened the follow thread:
https://wordpress.org/support/topic/infinite-scroll-69/
in order to have more information, but I think finally DMD developer dont updated plugin with stiofan’s instruction.
Said that, the unique problem I remember I found was just the problem reported from Frabrice “it doesn’t integrate well with the map, which in our case is at the top of the page”.
Yes you are right. An infinite scroll cant be integrated with a upstair map… But what I dont understand is why you want integrate it with upstair map? It has no sense to do that due to “nature” of infinite scroll… INFINITE SCROLL is a feature to go scroll down and open automatically new posts, and when you find an interesting post it has no sense scroll up to see the map to look about its location… It has no sense… Sure… Of course…
To integrate INFINITE SCROLL with GD, solution shoul be different. Follow I give you my proposal:
GD must provide to administrato 2 solutions/options:
Solution 1: Pagination
Solution 2: Infinite Scroll
Who choose solution 1 can introduce map at the top of page
Who choose solution 2 can’t introduce map at the top of page, but should choose map in SIDEBAR. With this solution map always will follow user in its “state of searching posts” and when user find an interesting post it can see locatioon on the map hosted in sidebar, without scroll up at the beginning of page…
The unique problem is the follow: using DMD infinite scroll plugin when user do scroll new posts opened will populate old map where there are posts of previously paginations. So after to do scroll a few times map in SIDEBAR will show too much posts… Location of previously posts more new posts… and that is very confused.
So solution is to show in the map only posts of ACTUAL PAGINATION user is found. Maybe I am not explaning well… Follow an example:
First I decide to many posts I want to show, for example I decide to show 10 post for each page. Also decide to enable infinite scroll. Ok.
1. As first, user will see posts from 1 to 10 and in the map in sidebar will be showed location of posts from 1 to 10.
2. Now user will decide scroll down => posts from 11 to 20 will be automatically opened and in the map in sidebar will be showed location of posts from 11 to 20.
3. Now user will decide scroll down => posts from 21 to 30 will be automatically opened and in the map in sidebar will be showed location of posts from 21 to 30.
4. Now user will decide SCROLL UP to posts from 11 to 20. In this case in the map in sidebar will be showed location of posts from 11 to 20.
5. Now user will decide SCROLL UP to posts from 1 to 10. In this case in the map in sidebar will be showed location of posts from 1 to 10.
I think rhis example show perfectlly what I want to say.
This is the unique way to have an INFINITE SCROLL “with sense” for geodirectory.
Resuming is:
– Provide 2 options to administrator. (OPTION A: upstair map + optional sidebar map; OPTION 2: only optional sidebar map)
– Make the modification needed to show in the map only the posts of the ACTUAL POSITION where user is found.
I hope developer are in acording with this solution and finally administrator we can have an INFINITE SCROLL for geodirectory.
Is veritable so strange that after 3 years we are working around without to determine a GD correct solution for one of the powerfull feature for SOCIALS NETS. This is strange but this is real… I hope developer will reconsidere its positions and will reflexione about my proposal.
Please, let me know if there is some possibilities to have it running with my solution or if we can definitivelly forget INFINITE SCROLL for GD.
I hope your reply.
Thanks.April 14, 2020 at 7:49 am #539998@giuseppe, you’re absolutely right, it doesn’t make any sense to put a map on the top of the page and then an infinite scroll below. The map would either have to be in a sidebar – which then potentially makes it useless for smartphones. Or you could make it stick to the top or bottom of the page. Either way, it think it’s more of a desktop feature than for mobile devices.
Regarding infinite scroll with the map, the question for me is how such a map would react to the user scrolling down. Should it just add the new places on the map once they are displayed? Or should the map only show the places that are currently visible? Ideally, both should be possible.
We actually decided to disable the map altogether in GD Archive and use it only for the GD Single template. Infinite scroll therefore remains an option for us in the future, but for now we will stick with pagination.
April 14, 2020 at 5:39 pm #540172Hi @grenzecho first thanks for you reply.
Also thanks to accept I am right when I say that INFINITE SCRILL has not sense with a FIX MAP. It is absurd.
Map in sidebar is a solution for desktop devices.
For mobile divices solution should be a FLOTING/DROPDOWN MAP in order to show it when user want.
About your doubt (“should the map only show the places that are currently visible? Ideally, both should be possible”), has I explaned in my previously post I tested infinite scroll on my page, and when there are a lot of listings/posts (this is the case when user do scroll…) the resultate of the map is a too populate map with too icons.. and it is not a good map to show… it is very confused…
So good solution is to show only currently/visible listings/posts.
Another solution can be to show currently/visible listings/posts and show the others with “clouster map addon” so map will have a more confortable vision (but show with “clouster map addon” only the rest of listing and not current listigs.
As last, to know that INFINITE SCROLL as you say is “an option for us in the future” of course is a good notice… But it seams too many years we are waitig to get that (my first post was 3 years ago and it has not been implemented in GD V2.
Maybe only my doughter will see INFINITE SCROLL for GD hahahaha
As I said previously, in my opinion a good solution is always a flexible solution… and flexible solution is allow to admin to decide in setting:
– PAGINATION
or
– INFINITE SCROLL
depending each CUSTOM POST TYPE.
So developer should not decide what system… but implement both of them.
This is my opinion… -
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket