WordPress.org

Ready to get started?Download WordPress

Forums

Infinite-Scroll
Activate infinite scroll in custom template (2 posts)

  1. aguidis
    Member
    Posted 1 year ago #

    I have done a lot of research... now I hope someone will help me.

    I noticed that it was possible to activate the infinite scroll in a page (http://wordpress.org/support/topic/infinite-scroll-with-custom-post-types?replies=23) thanks to this snippet :

    function my_load_infinite_scroll( $load_infinite_scroll ) {
        if( is_page('pagename') )
            return true;
        return $load_infinite_scroll;
    }
    add_filter('infinite_scroll_load_override', 'my_load_infinite_scroll');

    Unfortunatly it doesn't work for me...
    I'm using a custom template for my page with a custom query. Any ideas ?

    http://wordpress.org/extend/plugins/infinite-scroll/

  2. Evolutionsic
    Member
    Posted 1 year ago #

    I'd also like to know this please

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic