Skip to:
Content
Pages
Categories
Search
Top
Bottom

Pass arguments to bp_has_activities & button “load more”

  • Avatar of abyss
    abysshorror
    Member

    @abysshorror

    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 !

You must be logged in to reply to this topic.