• Greetings — I understand you may add settings in a near-future update, but at present I don’t seem to be able to tweak default Jetpack posts_per_page settings in the theme’s functions.php, as specified here, which is required for the tile-based posts archive of Whitespace Pro. Default Jetpack setting is 7, and Whitespace Pro looks good with say 9 (3 columns), but when I add the following code:

    add_theme_support( 'infinite-scroll', array(
        'posts_per_page' => '9',
    ) );

    to functions.php (actually via Code Snippets, as we run on a multisite and I don’t want to alter child theme globally), what happens is that (a) now I have 9 posts per tiled page all right, but (b) infinite scrolling seems to have been disabled (it all works fine with your plugin prior to adding code).

    Sure appreciate your plugin! It’s doing just what we need, otherwise.

    Regards,

    Jim P.

    https://wordpress.org/plugins/genesis-jetpack-infinite-scroll/

  • The topic ‘cannot modify posts_per_page for Whitespace Pro’ is closed to new replies.