Infinite Scroll Issue “*Page/NaN*

  • Author
  • #107595

    Hi everyone!

    I’m using jetpack infinite scroll with Kahuna theme.

    Everthing is working as intended exept that i’m getting a */page/NaN everytime I start scrolling.

    Take this page for example :
    As soon as you start scrolling down, address is changed into

    Here’s my function file :

    function kahuna_infinite_scroll_init() {
    add_theme_support( 'infinite-scroll', array(
    'type' => 'click',
    'footer_widgets' => true,
    'wrapper' => 'content-masonry',
    'posts_per_page' => 20,
    'container' => 'content-masonry',
    'render' => 'kahuna_infinite_scroll_render',
    'footer' => 'page',
    ) );
    add_action( 'init', 'kahuna_infinite_scroll_init' );
    function kahuna_infinite_scroll_render() {
    get_template_part( 'archive2' );

    If anyone have an idea…


Viewing 1 post (of 1 total)

You need to log in to reply to this topic.