Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Change standard button into own graphic button ?


baraber
Participant

@baraber

Hi Jeff,

first of all thx for your soon reply. But this doesn´t work because it only shows the word search but not the button as the background: here is the full code of the search function again

function bp_search_form() {

$form = ‘

<form action=”‘ . bp_search_form_action() . ‘” method=”post” id=”search-form”>

<input type=”text” id=”search-terms” name=”search-terms” value=”” />

‘ . bp_search_form_type_select() . ‘

<input type=”submit” name=”search-submit” id=”search-submit” value=”‘ . __( ‘Search’, ‘buddypress’ ) . ‘” />

‘ . wp_nonce_field( ‘bp_search_form’ ) . ‘

</form>

‘;

echo apply_filters( ‘bp_search_form’, $form );

}

do you have another idea ?

thx in adv. best regards tony

Skip to toolbar