This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

22 lines
447 B
PHP

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