'main', 'footer' => 'content', ) ); } add_action( 'after_setup_theme', 'aventurine_jetpack_setup' ); /** * Credits */ function aventurine_infinite_scroll_credit( $credits ) { $credits = '' . sprintf( __( 'Proudly powered by %s', 'aventurine' ), 'WordPress' ) . ''; $credits .= ' | '; $credits .= '' . sprintf( __( 'Theme: %1$s', 'aventurine' ), 'Aventurine' ) . ''; return $credits; } add_filter( 'infinite_scroll_credit', 'aventurine_infinite_scroll_credit' ); /** * Add background color to infinite scroll element */ function aventurine_background_style() { $color = get_background_color(); if ( ! $color ){ return; } printf( '', esc_attr( $color ) ); } add_action( 'wp_head', 'aventurine_background_style' );