Fix Codesniffer errors.
This commit is contained in:
parent
b215eebe1e
commit
175524922c
17 changed files with 59 additions and 32 deletions
|
@ -19,9 +19,12 @@ function _s_jetpack_setup() {
|
|||
} // end function _s_jetpack_setup
|
||||
add_action( 'after_setup_theme', '_s_jetpack_setup' );
|
||||
|
||||
/**
|
||||
* Custom render function for Infinite Scroll.
|
||||
*/
|
||||
function _s_infinite_scroll_render() {
|
||||
while ( have_posts() ) {
|
||||
the_post();
|
||||
get_template_part( 'template-parts/content', get_post_format() );
|
||||
}
|
||||
} // end function _s_infinite_scroll_render
|
||||
} // end function _s_infinite_scroll_render
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue