Title: Altering the Default Loop
Last modified: August 21, 2016

---

# Altering the Default Loop

 *  [Taylor](https://wordpress.org/support/users/brainfreez/)
 * (@brainfreez)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/altering-the-default-loop/)
 * <?php echo get_bsearch_results($s,$limit); ?>
 * Where do I go to alter the layout/CSS for default loop results for this plugin?
   Is it possible to create a child folder in my theme and drop the better-search.
   php file in there and adjust the code?
 * I’m trying to change not only the CSS but also alter the default title from the
   Page Meta Title to the actual Page Title. I really don’t like changing plugin
   code so if there is a way to do this with the child plugin..that would be awesome.
 * [http://wordpress.org/plugins/better-search/](http://wordpress.org/plugins/better-search/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ajay](https://wordpress.org/support/users/ajay/)
 * (@ajay)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/altering-the-default-loop/#post-4342428)
 * Taylor,
 * I don’t think anyone has created a very sophisticated template yet, but you can
   create a file called better-search-template.php in your themes folder which can
   call the plugin functions.
 * In the file better-search.php, the function `get_bsearch_results($s = '',$limit){`
   is used in retrieve and display the results.
 * You might need to use this like how I have done in the function `bsearch_template_redirect`
 * As I mentioned in the other thread, I plan on working on a version of better 
   search to incorporate much of the missing functionality.

Viewing 1 replies (of 1 total)

The topic ‘Altering the Default Loop’ 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: [12 years, 6 months ago](https://wordpress.org/support/topic/altering-the-default-loop/#post-4342428)
 * Status: not resolved