So I need to implement a Search field for the members on my website.
The Search field needs to be implemented on 2 pages:
1. Member Overview Page (visible for all Users)
2. Frontend Dashboard: Member Overview (only visible for Admins)
My problem is that when I create a template for the search result, it uses the same template on both search fields. But they need to be different because the Dashboard has a different design and the admins have the ability to edit or delete members from the site.
I work with Elementor and JetSearch (I generally use a lot of crocoblock plugins on this site)
Is there any way to work around this problem?
[ad_2]
Create a custom form that queries a specific method, instead of one that queries the general WordPress search query?