WordPress.org

Ready to get started?Download WordPress

Forums

How to load infinite posts inside the same page using page navigation? (9 posts)

  1. lucas_santos_jornalista
    Member
    Posted 2 years ago #

    Hi,

    I´d like to know how to load infinite posts inside the same page using page navigation?

    For example: My wordpress default is set to load 10 posts per page and I' ve 50 posts to show on this category. But when I click on "page 2" button, I want that these posts from 11-20 load in the same page withouth loading another one (the second page). I want that another infinite posts use the same unique page.

    For example:

    mypage.com/stuff
    load all posts, with page navigation, showing 10 posts on page

    but by default if i click on "page 5" navigation, it ll change the page to mypage.com/stuff/page5

    I want that all infinite posts load in the same page to use the same unique meta tags like title,description to avoid duplication on search engine.

    If I've 100 pages with 1000 posts, it ll be generate 100 pages with the same title, description and keywords.

    How to load "page 2", "page 3" in the same page default to avoid duplication?

    I dont want that wordpress create "page 2", "page 3", just the first one page.

    I know that use javascript and jquery but how to do that?

    Is that possible on wordpress?

    How to do that pls?

    Thanks!

    Lucas

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 2 years ago #

    http://wordpress.org/extend/plugins/infinite-scroll/
    Is this something like what you'd be looking for?

  3. lucas_santos_jornalista
    Member
    Posted 2 years ago #

    Hi, Rev. Thanks for attention.

    About your plugin suggestion, its kind of that.

    But it doesnt show footer content and it needs extra browser memory.

    If I dont have another suggestion, it ll help me.

    Thanks for attention, Rev.

    Anybody else?

  4. eds-danny
    Member
    Posted 2 years ago #

    I tried to add the Infinite Scroll plugin, and I created a custom template page, but it doesn't work.

    Does anyone know why?

  5. lucas_santos_jornalista
    Member
    Posted 2 years ago #

    How to load infinite posts inside the same page using page navigation pls?

  6. eds-danny
    Member
    Posted 2 years ago #

    It seems that WordPress has some bugs with custom template pages.

    The script used in header is not loading.

    Anyway the Infinite Scroll works only with main files: index.php and archive.php.

  7. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    It seems that WordPress has some bugs with custom template pages.

    I think it is far more like that the plugin has some bugs...

  8. eds-danny
    Member
    Posted 2 years ago #

    Not really because the plugin is working on index page also in archive page.

    In custom pages for example (mycustompage.php) the script is not loaded, don't know why.

  9. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    the script is not loaded

    Then that's an issue in the plugin.

Topic Closed

This topic has been closed to new replies.

About this Topic