Skip Navigation

[Resolved] Custom view not displaying when added to home page (search box only)

This support ticket is created 3 years 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 JoshuaD7497 3 years ago.

Assisted by: Shane.

Author
Posts
#2238899

I am trying to:
I have set up a directory of local holiday cottages using a custom post archive.
The site uses the Kadence Theme and Kadence Blocks Pro.

As per my separate previous ticket, I'm guessing that I have to set up a Custom View in order to add a search to the home page.
I've added this to the page but it won't display on the front-end.
Plus, when I click the drop-down for the destination page (for results), this is empty (no pages listed).

Link to a page where the issue can be seen: hidden link

I expected to see: The search box, with results going to the search page (View) when used.

Instead, I got: Nothing.

#2239141

Shane
Supporter

Languages: English (English )

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

Screenshot 2021-12-07 at 9.22.13 AM.png

Hi Josh,

Thank you for getting in touch.

I had a look at this for you and the issue was that you hadn't set a page for the search results to be on. I've seen where you've set the view search to be displayed but then there wasn't any results page setup in the settings . See Screenshot.

What I did was to add the results page to the setting and the view showed up fine.

Please modify this setting on the backend and set the correct page that should be used for the results.

Thanks,
Shane

#2239201

When I went to this drop-down before, there was no option to select the Search Results page.

It just said No Options.

What changed?

#2239209

Shane
Supporter

Languages: English (English )

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

Hi Joshua,

Nothing had changed, this is a select2 search field so its expecting that you type in the name of the page that you're looking to add. You need to at least start typing the first 3 letters.

Thanks,
Shane

#2239215

Thanks Shane.

That explains it! 🙂 Doh!

Thanks for clarifying this - I was expecting a drop down of choices.