This repository has been archived on 2020-05-08. You can view files and clone it, but cannot push or open issues or pull requests.
understrap/inc/jetpack.php

20 lines
404 B
PHP
Executable File

<?php
/**
* Jetpack Compatibility File
* See: http://jetpack.me/
*
* @package understrap
*/
/**
* Add theme support for Infinite Scroll.
* See: http://jetpack.me/support/infinite-scroll/
*/
function understrap_jetpack_setup() {
add_theme_support( 'infinite-scroll', array(
'container' => 'main',
'footer' => 'page',
) );
}
add_action( 'after_setup_theme', 'understrap_jetpack_setup' );