Title: Customized&#8230;will update overwrite?
Last modified: March 2, 2018

---

# Customized…will update overwrite?

 *  [paperwordorg](https://wordpress.org/support/users/paperwordorg/)
 * (@paperwordorg)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/customized-will-update-overwrite/)
 * 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](https://wordpress.org/support/topic/customized-will-update-overwrite/&apos; . home_url() . &apos;/?s=&apos; . $sencoded . &apos;&limit=10)
   | [20](https://wordpress.org/support/topic/customized-will-update-overwrite/&apos; . home_url() . &apos;/?s=&apos; . $sencoded . &apos;&limit=20)
   | [50](https://wordpress.org/support/topic/customized-will-update-overwrite/&apos; . home_url() . &apos;/?s=&apos; . $sencoded . &apos;&limit=50)
   | [100](https://wordpress.org/support/topic/customized-will-update-overwrite/&apos; . home_url() . &apos;/?s=&apos; . $sencoded . &apos;&limit=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](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/customized-will-update-overwrite/#post-10037853)
 * 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.

 * ![](https://ps.w.org/better-search/assets/icon-256x256.png?rev=2988729)
 * [Better Search - Relevant search results for WordPress](https://wordpress.org/plugins/better-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-search/)
 * [Active Topics](https://wordpress.org/support/plugin/better-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-search/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ajay](https://wordpress.org/support/users/ajay/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/customized-will-update-overwrite/#post-10037853)
 * Status: not resolved