Home › Forums › Support › Infinite Scroll on Single Post + Load more button on Blog Post Archive Category
- This topic has 6 replies, 3 voices, and was last updated 4 years, 3 months ago by
Tri Ryuzaki.
-
AuthorPosts
-
December 20, 2021 at 1:54 pm #2054962
Tri Ryuzaki
Hi, please instruct me to archive something like this site in which there is a “LOAD MORE” post button on Blog Page and Post Category Archive + Infinite scroll for Single individual post. Thanks
Blog: https://gazillions.com/
Category Archive: https://gazillions.com/entertainment
Infinite Scroll Single Post: https://gazillions.com/entertainment/jeremy-renner-and-hailee-steinfeld-working-together-on-hawkeye-set/
(I notice that the post url automatically change accordingly when I scroll down which is amazing)December 20, 2021 at 2:06 pm #2054973Ying
StaffCustomer SupportHi there,
For the blog/archive load more button, you can activate it at customizer > layout > blog:
https://docs.generatepress.com/article/blog-content-layout/For infinite scroll on single post, it will require a plugin or custom development which is out of the scope of this forum.
December 21, 2021 at 12:26 am #2055230Tri Ryuzaki
Hello, I found this tutorial and follow the steps but it does not work even though the demo result showed on the tutorial is exactly what I want to achieve, could you or someone have a look:
-Tutorial: https://blog.centil.co/2016/04/30/how-to-add-infinite-scroll-on-single-posts-in-wordpress/
-Demo result (inside the tutorial): http://demo.centil.co/infinite-scroll/2016/04/30/this-is-article-10/
-My site: https://demo.fiverrguy.com/article-10/December 21, 2021 at 4:38 am #2055406David
StaffCustomer SupportHi there,
this kinda thing is custom development which falls outside of our scope.
The one thing i can see, the code your adding requires jQuery which GP doesn’t load ( unless you enable sticky navigation ). Unless another plugin loads jQuery you will need to manually enqueue it:add_action( 'wp_enqueue_scripts', 'tu_load_jquery' ); function tu_load_jquery() { wp_enqueue_script( 'jquery' ); }December 21, 2021 at 11:25 am #2056001Tri Ryuzaki
Hi David, I have added your code using Code Snippet plugin as well as enabling Sticky Navigation but no luck. Could you check please.
December 21, 2021 at 12:17 pm #2056041Ying
StaffCustomer SupportI’m sorry but this is really out of the scope of the support forum, please check what support included in GP:
https://generatepress.com/what-support-includes/Thanks for your understanding!
December 21, 2021 at 2:37 pm #2056122Tri Ryuzaki
No, I won’t. I don’t have time for that Ying.
Thanks David, I have figured it out, cheer -
AuthorPosts
- You must be logged in to reply to this topic.