Pass arguments to bp_has_activities & button “load more”
-
Hey, I’m trying to pass parameters via GET to bp_has_activities:
`if (isset($_GET) || !empty($_GET))
{
$search = esc_attr( $_GET);
$query_string = $querystring . add_query_arg( ‘search_terms’, $search, $query_string );
}
`It’s working just fine for the first page, but when I clicke the load more button, I found out that it’s not reading the URL, it just loads the activity stream from the top.
Can anyone help me getting this to work ?
Thanks !
- The topic ‘Pass arguments to bp_has_activities & button “load more”’ is closed to new replies.