Forums › Forums › Search & Filter Pro › Not finding custom results.php file
- This topic has 2 replies, 2 voices, and was last updated 12 years, 1 month ago by
Ross.
-
Anonymous(Private) September 22, 2014 at 3:52 pm #4927
Hi,
I have followed the instructions for placing the results.php file in my child theme but search and replace does not seem to be finding my file. Specifically, I changed the code in my new results.php to show the_content() instead of the_excerpt. You can see my test page at:
http://www.vivaconsult.net/wordpress/database-test-page/
my results file is in
/home/vivaconsult/public_html/wordpress/wp-content/themes/viva/search-filter-pro/templates/results.php
I also tried matching the documentation by changing search-filter-pro to search-filter (although that seemed wrong since that didn’t match the plugin path) but that didn’t work either.
/home/vivaconsult/public_html/wordpress/wp-content/themes/viva/search-filter/templates/results.php
All the forum entries on this topic advise to follow the new documentation which I have tried to do. I would appreciate any insight.
Thank you,
Marion
Anonymous(Private) September 22, 2014 at 3:57 pm #4931Never mind. I figured out that I still had the wrong path.
I changed it to …/themes/viva/search-filter/results.php
This is a little confusing because the child theme path usually needs to exactly mirror the parent path. But, it works now.
Thanks,
Marion
Ross Moderator(Private) September 22, 2014 at 7:37 pm #4941Ah hey Marion, yeah I see where the confusion is – glad you got it working ok.
Best
Ross -
AuthorPosts