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)