Skip Navigation

[Resolved] Using a View as a Search Result page

This support ticket is created 2 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 replies, has 2 voices.

Last updated by camilaL 2 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#2305079

I have created a search view to display my Search Results. I wish to use that view in wordpress Search Results page.
Can I set my view page as the Search result page? Or at least include it in the Search Result page, and how?

link to site : hidden link
link to the current search result page : hidden link
link to the view page I created for search results : hidden link (also I dont understand why there are individual search bars not formatted on top)

Thank you

#2305183

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Camila,

Thank you for getting in touch.

This is quite possible if you create a custom archive. The wordpress default search results page is a filtered archive, so if you go to Toolset -> WordPress Archives and create a custom archive you should be able to assign this archive to the wordpress search results page.

This will allow you to customize how your search results are being displayed.

Thanks,
Shane

#2305569

Can I integrate the view I created directly inside this wordpress archive so I dont have to do the work again from start?

#2305869

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Camila,

Actually no because the view wouldn't recognize the search parameter that is in the URL. Currently the wordpress default parameter is "s" when performing the search .

Essentially you will need to rebuild your view in the archive.

Thanks,
Shane

#2306475

Thank you for your help