WordPress.org

Ready to get started?Download WordPress

Forums

Better Search
Altering the Default Loop (2 posts)

  1. Taylor
    Member
    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.

    http://wordpress.org/plugins/better-search/

  2. Ajay
    Member
    Plugin Author

    Posted 9 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.