Forums Forums Search & Filter Pro Customizing search results display not working

  • This topic has 21 replies, 2 voices, and was last updated 10 years ago by Anonymous.
Viewing 10 posts - 1 through 10 (of 22 total)
  • Anonymous
    #5870

    Hi,

    I don’t understand how the new Ajax instructions work with the styling of the search display.

    If I choose “Load results using Ajax” and “Use a shortcode to display results” the option for Page template disappears. [http://imgur.com/RPYAhp2]

    I am using this theme (https://wordpress.org/themes/baskerville). The search results, as well as the posts are displayed in a grid form (masonry layout). This is how I want to display the search results from using the Search and Filter plugin as well.

    I understood that I would be able to do this by making the custom template search.php from my theme, but this is not working, even if I have the Ajax option disabled.

    I just want the results to appear in the same way search results appear on my theme.

    Please help.

    Thanks.

    Anonymous
    #5876

    I saw this in the support documentation:

    If you wish to customise the display of your results, a template file is included in the Search & Filter folder.

    1) Create a folder in your theme folder called search-filter.

    2) Copy the file wp-content\plugins\search-filter\templates\results.php from the templates folder in to your newly created folder wp-content\themes\your-theme-name-\search-filter\results.php

    Search & Filter will now use this template to display your results 🙂

    But I can’t seem to get this working…

    If I unzip my theme folder, add a folder called search-filter, and put the results.php in it, and then zip it again, it’s not installing at all when I upload the theme on to wordpress.

    Anonymous
    #5915

    Ok, I changed the theme to something else, but the new theme supports a grid layout as well. In other words, the “posts” section, i.e. the blog section of the website will be displayed as a grid.

    This is how I want the search results filtered by the plugin to display as well.

    I figured out how to copy the results.php file into the theme folder, but nothing is happening, the results display the same way as before.

    I get the feeling I’m missing something important here, but all the posts relating to customization of display predate the Ajax changes, so can’t get much help there!

    Please help, thanks!

    Ross Moderator
    #5939

    Hey Manas

    I’m away at the moment but will help on my return – it looks like there must be something simple overlooked – and I will also update the docs to be more clear.

    Thanks
    Ross

    Anonymous
    #5968

    Hey Ross,

    No problem, I saw on the forums that there was no support for a couple days. It’d be great if you could have a look when you’re back so I can get this sorted! Thanks! 🙂

    Anonymous
    #6097

    Hello, any updates on this?

    Ross Moderator
    #6098

    Hey Manas just back from hols so playing catchup – I’ll update you later this afternoon.

    Thanks

    Anonymous
    #6103

    Great, thanks! Now it’s acting very buggy, in addition to the display problem I mentioned, it’s also not working for anybody except the admin. If I sign in with any other role, it shows the homepage instead of search results! So when you get a moment, I’d really love some help. Thanks again!

    Ross Moderator
    #6112

    Hey Manas

    Just realised I don’t have any links to look at? Could you provide a link to your search page and admin login details as well?

    Thanks

    Anonymous
    #6140
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 22 total)