Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to Replace search submit with image icon

  • `<?php

    function new_search_action() {
    global $bp;

    return apply_filters( ‘new_search_action’, $bp->root_domain . ‘/search’ );
    }

    function custom_adminbar_search() {
    $mobSearch = ‘

  • ‘ . bp_search_form_type_select() . ‘

    ‘ . wp_nonce_field( ‘bp_search_form’ ) . ‘

  • ‘;

    echo apply_filters( ‘bp_search_form’, $mobSearch );
    }
    add_action(‘bp_adminbar_menus’, ‘custom_adminbar_search’, 100);

    ?>`

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to Replace search submit with image icon’ is closed to new replies.
Skip to toolbar