Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search help


  • Rich Pedley
    Member

    @rich-pedley

    Having tracked code through I ended up in class.bb-query.php

    if ( $search ) {

    if ( $_post ) {

    $s_value = esc_attr( $q_post_text );

    $s_name = 'post_text';

    $s_id = 'post-text';

    } else {

    $s_value = esc_attr( $q_search );

    $s_name = $s_id = 'search';

    }

    $r .= "t<div><label for="$s_id">" . __('Search term') . "</label>n";

    $r .= "tt<div><input name='$s_name' id='$s_id' type='text' class='text-input' value='$s_value' /></div>n";

    $r .= "t</div>nn";

    }

    Now this is affecting a second search, by changing search to post-text, and the result of a second search is always zero results.

    Can anyone explain why, and is there an easy way to change this, or should I just code my own search form?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar