Fix indentation & space usage

This commit is contained in:
IanDelMar 2018-11-19 00:37:53 +01:00
parent ee459e936b
commit b1f541fcfc
1 changed files with 12 additions and 9 deletions

View File

@ -23,11 +23,14 @@ add_action( 'after_setup_theme', 'understrap_components_jetpack_setup' );
if ( ! function_exists( 'understrap_components_jetpack_setup' ) ) { if ( ! function_exists( 'understrap_components_jetpack_setup' ) ) {
function understrap_components_jetpack_setup() { function understrap_components_jetpack_setup() {
// Add theme support for Infinite Scroll. // Add theme support for Infinite Scroll.
add_theme_support( 'infinite-scroll', array( add_theme_support(
'infinite-scroll',
array(
'container' => 'main', 'container' => 'main',
'render' => 'understrap_components_infinite_scroll_render', 'render' => 'understrap_components_infinite_scroll_render',
'footer' => 'page', 'footer' => 'page',
) ); )
);
// Add theme support for Responsive Videos. // Add theme support for Responsive Videos.
add_theme_support( 'jetpack-responsive-videos' ); add_theme_support( 'jetpack-responsive-videos' );