Your best bet is to use a combination of JS waypoint libraries with the WP Rest API.
When element is visible, fetch content and display. Pretty simple.
Instead of the <nextpage>
you could also wrap this in a custom shortcode but this is primarily a JS problem, not really a WP issue.
Related Posts:
- How To Render Shortcode In AJAX Response?
- Get the content of a specific page (by ID)
- How to give paged links custom title?
- How can I keep the content of my pages version controlled?
- What methods to use to create small, editable pieces of text for static pages?
- Editing Complex Pages in Visual Mode
- Prevent WordPress from adding linebreaks to javascript embedded in a page
- Multiple areas of dynamic content in a page
- What are the options for running custom css and javascript files on a page?
- Using JavaScript and JQuery in Page
- Backend option to include a javascript file on specific pages?
- Static files or dynamic WP pages for “static content”?
- The entire content of my WordPress page has disappeared
- WASM page in WordPress website
- What is the proper way to get contents of a page?
- Get the Page Content,without generating HTML
- Two Search pages, One search form
- Can I include Javascript/jQuery in a page?
- Add a predefined page to site
- Blank Pages with # URL & Google
- Displaying Subpages while on Parent page?
- Page displays content from different query?
- Combining ‘depth’ with ‘include’ in wp_list_pages()
- Having wordpress page accesss issue under sub-directory
- How to make my category archive behave like a page
- Removing Parent Page URL While Keeping the Navigation Intact
- The concept of non-blog content
- Adding a Calculator to a WordPress Page
- JQuery Plugins in WordPress
- loading a javascript on a WP PAGE
- If I use a static page-slug.php for a page, is the database still queried?
- How to change the order of the Front Page so it doesn’t appear first
- append one page content into another
- Showing Different Code on Pages With Different Layouts
- Two different pages that share the same content?
- Listing all child-pages of a parent-page on the parent-page and each child-page?
- Sliding pages + wordpress [closed]
- Ordering Pages and Increasing Navigation
- Displaying Current Page Number Conditionally
- Static Website No Titles But Still Nav
- upgrade has caused page content to disappear
- Make Audio Element Persistent Across Pages
- Stop playing music (rev slider) when user opens new tab
- Add the same content to multiple pages
- wordpress page navigation numeric pagination showing same posts on each navigation
- Cannot pull WYSIWYG content
- Editing pages from dashboard
- What’s the best way to manage sections on a page?
- Press This for Page
- Converting HTML to WordPress theme: integrating pages function and using its text editor, conditional enqueuing
- include exception inside theme for empty widget area
- How to get sort content by page id?
- Add text to the bottom of particular pages
- How to make page navigation just below the content?
- displaying child pages in columns when on a parent page
- Retrieve page content and pass to PHP?
- Javascript will not run properly
- Advanced Multi Tier Navigation across columns
- WP-navi plugin and post sorted alphabetically
- How to bypass 404 for certain pages/posts?
- Custom page only editable by one user
- Page Title repeating
- Print page content with formatting when doing custom SQL query
- Outputting content from page
- Use an archive as the parent of a page?
- Next Page & Previous Page links – skipping a single page – how?
- Password Protect Pages Not Working
- Can I connect a page to a taxonomy?
- Publish page by invoking submit via jQuery
- advanced paging in wordpress
- How do I centre all page titles site wide without centring post titles or site title?
- How do you set the default page in WordPress?
- One author not showing in Author drop down list while editing page
- create 2 custom columns in page edit in Admin panel
- Preview page/post revisions without overwriting current content
- WordPress Page Protect forwards to Admin Login
- Using jQuery .after inside loop
- How can I edit pages from my local environment?
- Loading scripts on specific pages using PHP in footer.php
- How to recover pages from site with only ftp? [closed]
- Having a series of pages created based on records in a table with fields populating the pages
- Get all pages to display at once
- Show specific page on main index instead of latest
- Custom folder for wordpress page templates
- How to control display of page lists on sidebar that doesn’t have childrens
- Add Filter to Ignore a Post/Page or a Number of Post/Pages
- I want to create a Weebly site and have it show up as static pages on a WordPress site
- get_page() – Only variables can be passed by reference
- Need Help with Custom ModRewrite
- How to use the full page
- anchor tag in header not working on other pages except the home page
- Adding a pagenavi to function for displaying bookmarks
- Multiple Loops That Pull Pages (Child/Grandchild) While Styling the First Entry
- way to make all pages with certain tags public?
- Page not appearing under its Parent
- How does wordpress link page templates to individual pages
- How to show next/prev link, when it’s not active?
- Archive limit the text of the_content
- How do i pick the pages in 20-11 header?