Custom results.php with a child theme running on multiple sites?

Forums › Forums › Search & Filter Pro › Custom results.php with a child theme running on multiple sites?

Viewing 3 posts – 1 through 3 (of 3 total)
  • Anonymous
    #256826

    Good afternoon,

    I wanted to alter the output of results.php for a site I am building. Your instructions suggest creating an alternate results.php template in my child theme, which would normally be fairly straightforward. However, the child theme in question here is running in a total of 50 different places and I only want to make this modification on one of those properties.

    Is it possible to locate the new results.php file in a different location (like a separate plugin) and have it still be available to your product?

    Thanks!

    Trevor
    #256873

    It isn’t, I am sorry. Two possibilities I can think of. One is to change the template so that the change is inside an if condition, and you check to see what page/post you are on? That would be my first choice. The other option is to make a duplicate form and use that form instead on the page, and number the results.php (as suggested in those same instructions you mentioned).

    Anonymous
    #256974

    Darn. 😛

    Thanks for the reply. I’ll attempt one of the two workarounds you suggested.

Viewing 3 posts – 1 through 3 (of 3 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.