• Sabinooo

    (@sabinooo)


    Hello !

    I’ve been trying for a pair of hours to make Floki work with the fantastic “Infinite scrolling” featured provided by the wordpress Jetpack pack of plugins, however, I’ve failed to make it so far.

    Could I humbly ask for help in this regard ?
    The website : 6drole (dot com). I’m implementing it for my stepbrother, it’s not public yet, and it’s still in the doing, so chances are HIGH it will be different in a few days, I can’t promise it won’t have changed.

    Infinite scrolling works with other themes, it’s only with Floki (who beats every other theme I tested in terms of awesome visual quality) that there’s this malfunction.

    More accurately :
    – if Jetpack’s Infinite Scroll is not activated in the blog admin ( wp-admin/options-reading.php ), the blog loads the currently defined number of posts per page, and then there is an “Older Entries” link.
    – if Jetpack’s Infinite Scroll is activated in the blog admin ( wp-admin/options-reading.php ), then the blog loads exactly seven posts from its home page, and then there is the “Older Entries” link

    What I tested, most of the time, in Floki’s functions.php , was :

    add_theme_support( 'infinite-scroll', array(
        'container' => 'container',
        'footer' => 'page',
    ) );

    In place for container, I tested practically all the available “div id” the code was using, but, nah, every time it didn’t work.

    I looked at the theme’s code with the greater care I could, and I don’t see any other better candidate than the div id “container” : it only starts after navigation, and it ends before the footer, it should be perfectly suited for this usage.

    I parsed my website’s apache error log, nothing new showed up upon new loadings or attempts to scroll.

    Please, would someone have an idea to make it work ?

    More links, if it may help :
    the official Infinite Scroll implementation page, further explanations by WordPress’ Otto, more discussions from the wordpress forums.
    I didn’t find in these pages the solution for the current issue, but I must confess my knowledge wasn’t enough when things were getting complicated ??

    Thank you VERY MUCH if you can help ! ??

Viewing 1 replies (of 1 total)
  • Thread Starter Sabinooo

    (@sabinooo)

    A small update, much more testing later, apparently the problem lies with the Floki theme not resorting in any way to the content.php render, or any name like that, everything’s done within home and index.

    For reference, see “Infinite Scroll uses a standard WordPress loop to render” in https://jetpack.me/support/infinite-scroll/

    I reached the end of my ability, here. I leave this thread with hopes, some day, someone can answer to this… It would really be a fine addition to the Floki theme !

Viewing 1 replies (of 1 total)
  • The topic ‘Infinite scrolling with Jetpack ?’ is closed to new replies.