Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #904673
    rekluse
    Participant

    Hello, I am currently playing with trying to get Infinite Scroll plugin to work on our archive pages, following the instructions described here:

    https://community.theme.co/forums/topic/infinite-scroll/page/3/

    So I have it kinda-sorta working on this page:

    http://everyoneisright.com/category/all-media/

    I currently have the Post Carousel and the Archive Post Sliders enabled. The problem is, when a new “page” is being loaded after scrolling down, it is front-loading each new page with all the posts that are supposed to be in the carousel and slider, rather than just a chronological list of posts as it is supposed to.

    So it seems like I need to solve this in either of two ways, either at the plugin level or at the theme level:

    a) Adjust the code within the Infinite Scroll plugin to be able to identify posts contained by the slider and carousel, and omit these posts from the results.

    OR

    b) Adjust the theme so that the slider and carousel are only being displayed on the first page of a category page, so they will not be repeated when Infinite Scroll is loading subsequent pages.

    I hope I am explaining myself well enough. I will try to illustrate the problem here:

    A category page is loaded, and it includes something the following:

    CAROUSEL:
    Carousel Post 1 | Carousel Post 2 | Carousel Post 3 | Carousel Post 4
    SLIDER:
    Slider Post 1 | Slider Post 2 | Slider Post 3 | Slider Post 4
    ARCHIVE LISTINGS:
    Archive Post 1 | Archive Post 2 | Archive Post 3
    Archive Post 4 | Archive Post 5 | Archive Post 6
    Archive Post 7 | Archive Post 8 | Archive Post 9

    Then, when the next page is loaded by Infinite Scroll, it SHOULD then display:

    CAROUSEL:
    Carousel Post 1 | Carousel Post 2 | Carousel Post 3 | Carousel Post 4
    SLIDER:
    Slider Post 1 | Slider Post 2 | Slider Post 3 | Slider Post 4
    ARCHIVE LISTINGS:
    Archive Post 1 | Archive Post 2 | Archive Post 3
    Archive Post 4 | Archive Post 5 | Archive Post 6
    Archive Post 7 | Archive Post 8 | Archive Post 9
    (page 2)
    Archive Post 10 | Arhive Post 11 | Archive Post 12
    Archive Post 13 | Archive Post 14 | Archive Post 15
    Archive Post 16 | Archive Post 17 | Archive Post 18

    But instead it is doing this:

    CAROUSEL:
    Carousel Post 1 | Carousel Post 2 | Carousel Post 3 | Carousel Post 4
    SLIDER:
    Slider Post 1 | Slider Post 2 | Slider Post 3 | Slider Post 4
    ARCHIVE LISTINGS:
    Archive Post 1 | Archive Post 2 | Archive Post 3
    Archive Post 4 | Archive Post 5 | Archive Post 6
    Archive Post 7 | Archive Post 8 | Archive Post 9
    (page 2)
    Carousel Post 1 | Carousel Post 2 | Carousel Post 3
    Carousel Post 4 | Slider Post 1 | Slider Post 2
    Slider Post 3 | Slider Post 4 | Archive Post 10
    Archive Post 11 | Archive Post 12 | Archive Post 13
    Archive Post 14 | Archive Post 15 | Archive Post 16

    I know this might be beyond the scope of your available support, but I thought I would ask just in case you or anyone else reading this might have a suggested fix for me.

    Thanks for your help!

    #905577
    Paul R
    Moderator

    Hi,

    Regretfully, we cannot provide support for third party plugins or scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s plugin or script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.

    Thank you for your understanding.

  • <script> jQuery(function($){ $("#no-reply-904673 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>