How do I create 2 separate Search Result Pages (Templates) for the same Custom Post Type?

[ad_1]

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]
1 Comment
  1. Create a custom form that queries a specific method, instead of one that queries the general WordPress search query?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer