Created
August 27, 2016 01:36
-
-
Save muhfaris/ee8f5b638ef252eab25a2c249b6a8aca to your computer and use it in GitHub Desktop.
jetpack plugin double post, function theme
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function jetpack_infinite_scroll_query_args( $args ) { | |
$args['order'] = 'ASC'; | |
$args['orderby'] = 'name'; | |
return $args; | |
} | |
add_filter( 'infinite_scroll_query_args', 'jetpack_infinite_scroll_query_args' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment