Ready to get started?Download WordPress


Better Search
Altering the Default Loop (2 posts)

  1. Taylor
    Posted 9 months ago #

    <?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.


  2. Ajay
    Plugin Author

    Posted 9 months ago #


    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.


You must log in to post.

About this Plugin

About this Topic


No tags yet.