Title: template bug
Last modified: August 21, 2016

---

# template bug

 *  Resolved [philipedwards](https://wordpress.org/support/users/philipedwards/)
 * (@philipedwards)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/template-bug/)
 * Thanks for plugin, looks promising. I came accross a bug, if I use a custom template,
   simply copy the plugin file into my theme folder, then doing a search for ‘ben’
   or ‘f1’ or ‘tt’ all return a blank page with just the header.
 * This only happens when using the custom template, it is not a problem if I delete
   the custom template from my theme folder
 * I have not yet modified the custom template, using it ‘as is’
 * [https://wordpress.org/plugins/better-search/](https://wordpress.org/plugins/better-search/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/template-bug/#post-4579318)
 * Philip,
 * I’ll run a test at my end, but the custom template hasn’t been designed to just
   work out of the box. It was more of a guideline to use to develop one for your
   theme.
 * Which theme are you using?
 *  Thread Starter [philipedwards](https://wordpress.org/support/users/philipedwards/)
 * (@philipedwards)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/template-bug/#post-4579345)
 * Hi,
 * Thanks for the reply, I am using my own coded theme. For now I have resolved 
   the problem by ditching all the code in the sample theme template and copying
   the code for the hardcoded template from the better-search function and pasting
   it into the sample theme template.
 * Thanks,
 * Philip
 * Currently being tested on [http://www.philip-edwards.co.uk](http://www.philip-edwards.co.uk)
 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/template-bug/#post-4579377)
 * Glad to know you resolved this one Philip 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘template bug’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Ajay](https://wordpress.org/support/users/ajay/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/template-bug/#post-4579377)
 * Status: resolved