Hello Jones,
Thank you for using the plugin. Please try the following code in your bp-custom.php file and let me know if it works or not.
function buddydev_filter_featured_members_type( $args ) { if ( ! function_exists( 'bp_featured_members' ) ) { $args; } // our scope must be featured. if ( bp_featured_members()->in_the_loop() || ( isset( $args['scope'] ) && $args['scope'] == 'featured' ) ) { $args['type'] = 'random'; } return $args; } add_filter( 'bp_after_has_members_parse_args', 'buddydev_filter_featured_members_type' );
Thank You
Ravi- This reply was modified 5 years, 10 months ago by Ravi.
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
This topic is: resolved