Describe the feature you'd like to see included in Oxygen.
Bit of a niche case but must affect other plugins too. Buddypress Docs plugin (https://en-gb.wordpress.org/plugins/buddypress-docs/) uses the standard Wordpress search function but on its own template, e.g. /docs/?s=Search query rather than /?s=Search query and with its own useful functionality for a documents library. If you have an Oxygen template which displays on Search results, it will display on the Buddypress Docs search results page too, making the BP Docs plugin's custom look and feel and search functionality unavailable.
What are the use cases for this feature?
Might affect any plugin that has a custom search facility, where developers want to choose whether the Oxygen search results template overrides it or not.
Examples of this feature or functionality.
Can't give examples, but lots of websites have different search facilities for different sections of the site.
Temporary workaround
It's a bit hacky but the Buddypress Docs search queries append &search_submit=Search to the URL, so using https://gist.github.com/Spellhammer/3e18a7d6f67e3c75516e3f127a802b44 I'm testing for that parameter and showing the customised Oxygen search template for regular WP search queries or Inner content for Buddypress Docs search queries accordingly.
Describe the feature you'd like to see included in Oxygen. Bit of a niche case but must affect other plugins too. Buddypress Docs plugin (https://en-gb.wordpress.org/plugins/buddypress-docs/) uses the standard Wordpress search function but on its own template, e.g. /docs/?s=Search query rather than /?s=Search query and with its own useful functionality for a documents library. If you have an Oxygen template which displays on Search results, it will display on the Buddypress Docs search results page too, making the BP Docs plugin's custom look and feel and search functionality unavailable.
What are the use cases for this feature? Might affect any plugin that has a custom search facility, where developers want to choose whether the Oxygen search results template overrides it or not.
Examples of this feature or functionality. Can't give examples, but lots of websites have different search facilities for different sections of the site.
Temporary workaround It's a bit hacky but the Buddypress Docs search queries append &search_submit=Search to the URL, so using https://gist.github.com/Spellhammer/3e18a7d6f67e3c75516e3f127a802b44 I'm testing for that parameter and showing the customised Oxygen search template for regular WP search queries or Inner content for Buddypress Docs search queries accordingly.