• I edited the plugin files for formatting purposes: better-search.php, general-template.php, template.php. It all works..but I’m concerned that these changes will be overwritten when the plugin updates. Is that true? Thanks, Joel

    1.better-search.php
    commented out –
    /* added by joel
    $output .= ‘<p>’;
    $output .= ‘<span class=”bsearch_score”>’ . get_bsearch_score( $search, $score, $topscore ) . ‘</span>’;

    $before = __( ‘Posted on: ‘, ‘better-search’ );

    $output .= ‘<span class=”bsearch_date”>’ . get_bsearch_date( $search, __( ‘Posted on: ‘, ‘better-search’ ) ) . ‘</span>’;
    $output .= ‘</p>’;
    */
    2.general-template.php
    removed:
    /** removed by joel
    <tr class=”bsearch_nav_row2″>
    <td style=”text-align:left”></td>’;
    $output .= ‘<td style=”text-align:right”>’;
    $output .= __( ‘Results per-page’, ‘better-search’ );
    $output .= ‘: 10 | 20 | 50 | 100
    </td>
    </tr>
    **/
    3. template.php
    added
    <div id=”bsearchresults”>
    <!– added by joel –>
    <p></p>
    <!– added by joel –>

Viewing 1 replies (of 1 total)
  • Plugin Author Ajay

    (@ajay)

    Yes that is the case. The best option would be to use your own better-search-template.php in your theme’s folder and the plugin will use that.

    You can model this based on your theme and the files you editted above.

Viewing 1 replies (of 1 total)

The topic ‘Customized…will update overwrite?’ is closed to new replies.