Forums Forums Search & Filter Pro Results.php Not Loading from Child Theme

Viewing 5 posts - 1 through 5 (of 5 total)
  • Anonymous
    #155783

    Great plugin, love it.

    I’m trying to customize the results display but the plugin is not picking up the results.php from my child theme.

    I create a folder for search-filter-pro but no matter what I do I can’t get the page to load.
    I’ve tried:
    /wp-content/themes/speakerstardom/search-filter/results.php
    /wp-content/themes/speakerstardom/search-filter-pro/results.php
    /wp-content/themes/speakerstardom/search-filter/templates/results.php
    /wp-content/themes/speakerstardom/search-filter-pro/templates/results.php

    The “speakerstardom” child theme is installed and activated. functions.php and style.css are working.

    I’m clearly missing something here!! 🙁

    I would also love to get a copy of the results.php file from the movie demo since that is so close to what I need.

    Thanks in advance,
    Michelle

    Trevor
    #155792

    This one is correct, assuming that you are using the shortcode display results method:

    /wp-content/themes/speakerstardom/search-filter/results.php

    With regard to the movie demo. It is possible to replicate what you see if you have the same theme; TwentyFourteen. If you have a different theme, then you will need to create the post layout in the multi-post (archives) page from within the theme, or hand code the PHP (as we did in that demo) by editing one of the theme’s own template files, or use a page builder plugin that can build grids, or use our shortcode display results method and edit the results.php template file, as shown in our documentation:

    https://www.designsandcode.com/documentation/search-filter-pro/search-results/using-a-shortcode/#Customising_the_Results

    Are you able to send me a live link/URL to your search page so I can take a look?

    Anonymous
    #155829

    I’m still running on my local dev’ server at this point so no, I don’t have a public url. 🙁

    My query around the template path was because the main plugin is in the search-filter-pro directory. However, it’s now working!!! Bizarre! I would swear that I tried every combination!!

    My base theme is DIVI from Elegant Themes. Do you have any examples of creating cool search &
    results pages with DIVI?

    Trevor
    #155899

    Please see this post regarding Divi:

    https://support.searchandfilter.com/forums/topic/divi-and-sf/#post-127431

    The format of the posts is then from Divi, and not use. The code varies slightly if you want one post per row.

    Anonymous
    #155992
    This reply has been marked as private.
Viewing 5 posts - 1 through 5 (of 5 total)