- This topic has 12 replies, 3 voices, and was last updated 7 years, 10 months ago by
mathewemoore.
-
AuthorPosts
-
April 7, 2017 at 1:34 am #302856
Istvan
Hello,
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, Istvan
April 7, 2017 at 9:50 am #303024Tom
Lead DeveloperLead DeveloperHi there,
You would need to use a plugin to achieve infinite scroll.
This post might help: https://generatepress.com/forums/topic/is-jetpack-infinite-scroll-compatible-with-generatepress/#post-298662
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 #304121Tom
Lead DeveloperLead DeveloperI 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
Tom,
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 help
April 10, 2017 at 7:12 pm #304275Tom
Lead DeveloperLead DeveloperHmm, can you link me to the page with it not working?
April 11, 2017 at 1:13 am #304370Istvan
Hello Tom,
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/
or
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 #304547Tom
Lead DeveloperLead DeveloperAs far as I know, those plugins will only work on the blog page/archives, not single posts like that.
April 12, 2017 at 12:09 am #304785Istvan
Ok,
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 you
April 12, 2017 at 10:30 am #305059Tom
Lead DeveloperLead DeveloperCurrently, 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
Tom,
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.
Thank you,
Mathew MooreOctober 22, 2017 at 7:14 pm #408225Tom
Lead DeveloperLead DeveloperHi there,
Absolutely! Looks awesome.
Feel free to release it 🙂
October 24, 2017 at 7:51 pm #409565mathewemoore
Hi Tom,
The Infinite Scroll for GeneratePress plugin is now live in the WordPress Plugin Directory:
https://wordpress.org/plugins/infinite-scroll-generatepress/Feel free to offer me any suggestions you have in regards to the plugin and also, I invite you to become a contributor.
-
AuthorPosts
- You must be logged in to reply to this topic.