Support » Plugin: WordPress Infinite Scroll - Ajax Load More » URL changes very early

  • Resolved sitebizniz

    (@sitebizniz)


    When I scroll down only a little bit the URL changes in the browser

    echo do_shortcode('[ajax_load_more container_type="div" seo="true" single_post="true" single_post_id="'.get_the_ID().'" single_post_order="previous" single_post_taxonomy="category" post_type="post" posts_per_page="2" scroll_distance="80%" scroll_container="#content" transition="none" button_label="More"]');

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author dcooney

    (@dcooney)

    Hi @sitebizniz
    I’m not seeing this issue. But when it does happen it’s usually caused by CSS floats of the content area.

    Please let me know if you still require help.

    Thread Starter sitebizniz

    (@sitebizniz)

    Thank you. I’m seeing it most of the time as I visit pages at random from the menu.

    Can you help me figure out how to work around it? I have tag manager set up and the page views are firing together almost at the top of every page.

    Plugin Author dcooney

    (@dcooney)

    @sitebizniz
    You’ll need to edit your template to either move Ajax Load More underneath the #content div or insert a clearing div above Ajax Load More.

    The issue (which I just seen) is the #primary and #right-sidebar divs are not clearing properly.

    Thread Starter sitebizniz

    (@sitebizniz)

    Thank you! It is working as expected now. The only strange thing is if I add the scroll_distance parm to the shortcode like scroll_distance=”80%” then nothing is loaded at all. When I leave out the parm it works but waits until the user is at the very end of the article before starting to load.

    Plugin Author dcooney

    (@dcooney)

    Use -80%

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘URL changes very early’ is closed to new replies.