Forums › Forums › Search & Filter Pro › Results.php Not Loading from Child Theme
Tagged: results.php movie demo results
- This topic has 4 replies, 2 voices, and was last updated 7 years, 1 month ago by
Anonymous.
-
Anonymous(Private) January 29, 2018 at 6:39 pm #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.phpThe “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,
MichelleTrevor(Private) January 29, 2018 at 7:50 pm #155792This 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:
Are you able to send me a live link/URL to your search page so I can take a look?
Anonymous(Private) January 29, 2018 at 8:43 pm #155829I’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(Private) January 30, 2018 at 6:00 am #155899Please 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.
-
AuthorPosts