Replies: 2 comments 1 reply
This comment was marked as spam.
This comment was marked as spam.
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
General
Body
0
I have a buddypress, I want to display activity posts randomly on home page, not in chronological order. Anyone knows any code or method for that?
I used this code but it doesn't work buddypress
function posts_random_order( $query ) {
}
add_action( 'pre_get_posts', 'posts_random_order' );
Beta Was this translation helpful? Give feedback.
All reactions