Re: Search functionality for status updates
I can’t get this to work.
In header.php my search form looks like this
<form action="” method=”post” id=”search-form”>
<input type="submit" name="search-submit" id="search-submit" value="” />
wp_nonce_field( ‘bp_search_form’ )
my activity loop has this in
$searchterms = $_POST;
if ( bp_has_activities( bp_ajax_querystring( ‘activity’ ) . ‘&search_terms=’ . $searchterms) ) :