• Taylor

    (@brainfreez)


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

    https://www.ads-software.com/plugins/better-search/

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

    (@ajay)

    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.