Your Challenge:
The User
- fills out one Searchform,
- sends the request and
- gets the searchresults from several websites.
The JCI-PRO plugin can do that, if the searched Servers have a JSON-Search-API. Usually WordPress-Website do have those. See how this is done with JCI-PRO:
Step 1: Searchresult Page
Place this Shortcode onto a ordinaray WordPress-Page:
[[jsoncontentimporterpro nameoftemplate=searchresults orderofshortcodeeval=1]]
- Publish that page with e. g. URL “/search-jci-websites/”.
- “orderofshortcodeeval” is available from Version 3.6.1 on. Before that: Set the Radiobutton at the JCI-PRO-Options in Tab “Shortcode-Settings” at “Usage of Shortcodes (JCI or other) in the JCI-twig-Template:” to “First option (default)…”
Step 2: Searchresult JCI-Template named “searchresults”
Step 3: Receiving JCI-Template named “searchsingle”
Create a new JCI-Template:
- Name:
searchsingle
- Template-Text:
{{ _context | json_encode }}
This gives us the pure JSON from the several Servers. If needed you can alter the received JSON here