- This topic has 12 replies, 3 voices, and was last updated 3 years, 4 months ago by mathewemoore.
April 7, 2017 at 1:34 am #302856Istvan
I’d like to make infinite scroll available on my website (https://politikaivelemenyek.eu/egy-ismeretlen-kozmunkas-levele-a-miniszterelnokhoz/), so as soon as they finish reading the article the next one loads up automatically, as you can see it here: http://www.hirado.hu/2017/04/07/lecsapott-amerika-sziriaban/
The only exeption, on Politikai Vélemenyek I’d want to keep the recent post and the comments, I’d also like to achieve to have the date, category, author and how many comments we have visible in the header where the title is, but with smaller characters than the title itself. Could you please possibly help me with it?
Thanks, IstvanGeneratePress 1.3.46April 7, 2017 at 9:50 am #303024TomLead DeveloperLead Developer
You would need to use a plugin to achieve infinite scroll.
Let me know 🙂April 10, 2017 at 5:17 am #303974Istvan
Hello Tom, I’ve tried two options to fix it but unfurtunatelly I wasn’t able to solve it. None of what i’ve tried has worked.The jetpack made infinite scroll visible on the wp admin setting page but didn’t make any changes to the page itself. I have had set up the other plugin following the link you’ve sent but that didn’t work either. Is there anything else I could possibly try to make it work? Could you please help me with the set up of infinite scroll? And I had an other question about making a few things appear right under the title section after the set up of infinite scroll.
On Politikai Vélemenyek I’d like to keep the recent post and the comments, I’d also like to achieve to have the date, category, author and how many comments we have visible in the header where the title is, but with smaller characters than the title itself. Could you please possibly help me with it?
Thank youApril 10, 2017 at 10:18 am #304121TomLead DeveloperLead Developer
I do believe the infinite scroll from Jetpack still works, but some code needs to be added for it to be compatible. That code/discussion can be found here: https://generatepress.com/forums/topic/blog-automatic-load-more-posts-on-scroll-down/
Alternatively, have you tried a plugin like this?: https://en-ca.wordpress.org/plugins/yith-infinite-scrolling/April 10, 2017 at 11:06 am #304141Istvan
Navigation Selector: #nav-below
Next Selector: #nav-below a:first
Item Selector: .masonry-post
Content Selector: .masonry-container
with these setting the yith plugin doesn’t work. Can you tell me what am I doing wrong? please helpApril 10, 2017 at 7:12 pm #304275TomLead DeveloperLead DeveloperApril 11, 2017 at 1:13 am #304370Istvan
I am probabbly using the wrong values and that’s the reason I can not solve it.
I am currentlly using the yith plugin on this site: (https://politikaivelemenyek.eu/az-orbanbuktatas-margojara-igazsagos-tarsadalmat/) , but I also have the jetpack installed so we could try any of them.
I’d like it to look something similar to this: http://www.hirado.hu/2017/04/11/nezopont-nem-gyengiti-a-kormanypartokat-a-tuntetessorozat/
http://abcnews.go.com/US/multiple-gunshot-victims-reported-california-school-fire-officials/story?id=46708063 as you can see there’s infinite scroll and also in title section all those information I wanted to include on my site too (date, author, category, and how many comments)
Also, if I set up an article in video format it makes the whole content visible, there’s a pic for you to see what I mean ……….. is there a solution to solve that?
April 11, 2017 at 9:43 am #304547TomLead DeveloperLead DeveloperApril 12, 2017 at 12:09 am #304785Istvan
But I still didnt’t get an answer on other questions I asked…
Also, if I set up an article in video format it makes the whole content visible, there’s a pic for you to see what I mean ……….. is there a solution to solve that? (find picture in the previous message)
On Politikai Vélemenyek I’d like to keep the recent post and the comments, I’d also like to achieve to have the date, category, author and how many comments we have visible in the header where the title is, but with smaller characters than the title itself.
I have sent these questions trough a few times now, and I am really struggling with the set up. Please let me know if you can’t help with it so I dont keep resend it if theres no answer.
Thank youApril 12, 2017 at 10:30 am #305059TomLead DeveloperLead Developer
Currently, the video post format option displays the full content. This is so HTML is allowed, and the videos will show.
In a future update, I want to grab the video from the content and place it where the featured image usually is.
For now, you would want to place the video at the top, then use the more tag: https://docs.generatepress.com/article/using-the-more-tag/
That way, only your video will display in your excerpt.
I’m not sure what you mean by your second question – can you show me an example of what you’re wanting to achieve?
It’s best to create new topics for each different unrelated question you have. It’s much easier to answer, and easier for find for users who might have the same question.October 22, 2017 at 9:42 am #407999mathewemoore
I made an infinite scroll plugin for GeneratePress and I am thinking about publishing it to the WordPress plugin directory. Are you ok with me doing this?
You can see a slighty modified version of my plugin at https://hike4.com.
The version on that website does two ajax queries: one for the sidebar and one for the main article div. The main query in the article div loads posts in DESC order and the sidebar loads in ASC. I only did this way so I can get the most visibility for my posts.
For the plugin I wish to publish to the WordPress Plugin Directory, both ajax calls will be DESC, but only one will run based on the screen width above or below 768px.
Either way, please let me know if you are ok with me publishing a version.
Mathew MooreOctober 22, 2017 at 7:14 pm #408225TomLead DeveloperLead DeveloperOctober 24, 2017 at 7:51 pm #409565mathewemoore
The Infinite Scroll for GeneratePress plugin is now live in the WordPress Plugin Directory:
Feel free to offer me any suggestions you have in regards to the plugin and also, I invite you to become a contributor.
- You must be logged in to reply to this topic.