How to split a post up like a slideshow

How can you split a long post up into multiple pages (like a slideshow) without changing the URL for the original post, but making it so that each click to the “next page” counts as another pageview (and new google ads are shown etc)?

  • Predrag Dubajic
    • Support

    Hey @d-invent,

    Hope you’re doing well today :slight_smile:

    WordPress comes with this code <!–nextpage–> you can add in your post/page that will split your content in multiple pages, however this will reload your page with new url so I guess this solution will not work for you.

    I believe that best solution would be using the slider that can use text content and not just images and make it work that way.

    Best regards,

    Predrag

  • d-invent
    • The Incredible Code Injector

    As long as the original post page does not have a change of URL, that should be fine. However, when I add <!--nextpage--> to a post on my website, it doesn’t seem to do anything. Can you please let me know how to fix this? I have granted wpmu support access via the support plugin for my website which is PantrySpa.com

    Thanks for your help!

  • Predrag Dubajic
    • Support

    Hey @d-invent,

    I have created new test post and the pagination is working but it's being added below your related posts and the CSS is not correct so that might be why you missed it, you can check the test post on your site and I have attached screenshot below. Note that you need to be logged in to see the post since I set it as private.

    You can add this CSS code to change the color of page links:

    body.gppro-custom .entry-pagination a {
    color: #222;
    }

    You can use plugin like this for this custom CSS:

    https://wordpress.org/plugins/simple-custom-css/

    If this solution is ok for you let me know so we can try finding some solution to push the navigation before related posts.

    Best regards,

    Predrag

    [attachments are only viewable by logged-in members]