Thanks @juanma
I was able to create a custom page for search, as the default search not working as mentioned here Creating custom URLs for search results
Now, I would like to search through all Pages, CPT etc. as suggested by @mburridge I have installed this plugin too. but now in Frontity I have created below to get data of all CPT
const response = await libraries.source.api.get({
endpoint: "multiple-post-type",
params: { search: params.search, type[] : 'voice'}
});
Showing below error
As this does not allow to pass type[[ array as it was required by multiple-post-type plugin else getting below error in API
{
"code": "type_need_to_be_array",
"message": "Type Param is a required parameter and needs to be an array: &type[]=post&type[]=page&type[]=slideshow",
"data": {
"status": 422
}
}
So, How can we achieve the same?