• Resolved Rakesh Raja

    (@rakeshraja)


    Hi Friends

    I have created custom theme. I have install JetPack and want to make it work in my category page template..

    I have custom loop there. I have also add support for it in theme functions file.

    add_theme_support( 'infinite-scroll', array(
        'type'           => 'click',
    	'container'  => 'crepost',
    
    ) );
    
    function pix_scroll_init() {
        add_theme_support( 'infinite-scroll', array(
            'container'      => 'crepost',
    		'type'           => 'click',
        ) );
    }
    add_action( 'after_setup_theme', 'pix_scroll_init' );

    It give me link in bottom but when I click on it nothing happens

    Here is the template code

    https://pastebin.com/NUX2u5Lv

    Here is the live page url

    https://www.wpguru.in/themes/pix/credits/

    Regards

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Infinite Scroll not working – jetpack installed – custom loop – category page’ is closed to new replies.