Search Results for 'results.php'

Forums › Forums › Search › Search Results for 'results.php'

Viewing 10 results – 1,171 through 1,180 (of 1,344 total)
  • Author
    Search Results
  • #36493

    Anonymous
    Inactive

    You can set this to resolved – I just recreated my results.php in my theme and it’s now working again.

    #36125

    Anonymous
    Inactive

    Hey Ross,

    Hope you’re well.

    Any chance you can tell me when’s the next plugin release? And if you’re planning to let “us” define the results.php file path?

    Cheers,

    V.

    #36023

    Ross
    Keymaster

    Create a new template, call it something like search-filter-results.php and use this in your settings.

    Then use the following code for search-filter-results.php:

    https://gist.github.com/rmorse/f4c824817ef7d0de4f98

    Thanks

    #36002

    Anonymous
    Inactive

    Hello,

    first of all, thank you so much for the great Plugin, as well as the swift support the last time! The plugin has been a big help in our project so far.

    However, I have just one more – pretty urgent – problem, relating to displaying the search results. Now, as a preface, I know that in order to customize the search results I need to change the results.php, and I’ve made a copy of it in the theme as instructed. I’m currently using the shortcode method to display my results, but if what I want can be achieved with some other method more easily, I could try changing to it.

    So! The thing is, I’m using the Enfold theme and would like to display my results using their portfolio grid, like so: link (hovering over a picture displays the green circle depicted in the upper right corner, which opens a lightbox preview [Ajax portfolio] when clicked) instead of just the default title and image. Basically, it’s the grid and the lightbox preview that I’d like.

    However, I’m unsure how to do that. I think I either need to do something in the results.php to put the results in the grid, or somehow have the S&F affect the portfolio entries displayed in the grid itself…? I’ve tried Googling and searching through the support forums, but unfortunately couldn’t find anything. I’m really stumped!

    If it helps, I have a piece of shortcode that produces the portfolio grid. I tried to echo that in various parts of the results.php, but all it did was display one entire grid (with all the portfolio entries) for each search result (title and image), resulting in about 120 grids with 120 entries…

    Any idea of how I could accomplish what I want? I’d be forever grateful for any help!

    #35449

    Anonymous
    Inactive

    Nope 🙂 Just need the ability to modify results.php without touching the WP theme’s files. So I figured the only way to do this would be trough the custom plugin.. but no 🙂

    Yeah, just give us a filter or something, so we can change the path to the results.php file without changing WP theme’s structure.

    Cheers

    #35440

    Anonymous
    Inactive

    Hi Ross,

    Thanks for the quick reply. Unfortunately, it didn’t resolved my issue here.

    Example: I am not allowed to touch, nor access WP theme’s folders or files. I need to be able to load results.php file from within plugin.

    Is there a way to define new results.php file path (/path/to/my/plugin/myresultstemplate.php)?

    Many thanks,

    V.

    #35438

    Ross
    Keymaster

    Hi there

    I guess the best way to do this would be to use the standard way of customising the results template via the theme..

    However, you wouldn’t use all the standard loop code etc, you would just empty the results.php file in your theme, and load the file that you desire using PHP, something like:

    results.php:

    <?php
        include '/path/to/my/plugin/myresultstemplate.php';
    ?>

    Thanks


    Anonymous
    Inactive

    Hi Ross,

    Love the plugin. Thanks for this.

    I need to customise results.php, but I need to be able to do that from a plugin, NOT from the theme. Right now, the only way to do so, according to the docs, we can copy paste search-filter/results.php in our theme’s dir.

    Can you please advise on how to maybe overwrite/extend Search_Filter_Query Class (the_results function), from a custom plugin, and define new location for search-filter/results.php?

    Any help is much appreciated.

    Thank you,

    V.

    #34814

    Anonymous
    Inactive

    Hi.
    I use a search form with results displayed as shortcode. I customized results.php file, everything is working fine except my a href=”#” links 🙁
    These links were used in my template to display further information about each result, but I can’t get them to work now.
    I thought it might be Ajax conflict, so I desactivated it, but it still doesn’t work.
    Thanks for your help
    Séline


    Anonymous
    Inactive

    Ah so Ive just seen its possible

    Yep, it’s actually pretty easy to do also……

    Create a folder IN your WP Theme folder and name it /search-filter

    Then start with any template (e.g. results.php) and name it for the search filter you’ve created. For example, in your search and filter shortcode, it gives you a form ID, such as “102”, so name your template page “102.php” and put it in that new folder and upload it.

    S&P will use your new template file to display your results.

Viewing 10 results – 1,171 through 1,180 (of 1,344 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.