<?php
/**
 * Jetpack Compatibility File
 * See: http://jetpack.me/
 *
 * @package Cubic
 */

function cubic_jetpack_setup() {
	/**
	 * Add theme support for Infinite Scroll.
	 * See: http://jetpack.me/support/infinite-scroll/
	 */
	add_theme_support( 'infinite-scroll', array(
		'container'      => 'main',
		'footer'         => false,
		'wrapper'        => false,
		'posts_per_page' => 9,
	) );
}
add_action( 'after_setup_theme', 'cubic_jetpack_setup', 11 );
