Skip Navigation

[Resolved] Insert a View

This thread is resolved. Here is a description of the problem and solution.

Problem:
How can I display a View?

Solution:
On any post, open the "Fields and Views" Gui, and choose your View.
Complete the steps in the GUI and insert the shortcode.

With the API you can render the whole output of the View programmatically:
https://toolset.com/documentation/programmer-reference/views-api/

This support ticket is created 7 years, 6 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
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 2 replies, has 2 voices.

Last updated by Jeff Coen 7 years, 5 months ago.

Assisted by: Beda.

Author
Posts
#526411

I am trying to: Use a Shortcode or something similar to display my search form on the homepage of my site using the index.php template of my theme (in this case, _underscores).

I visited this URL: hidden link

I expected to see: My two forms (a search box for Search by Name and a pulldown for Search bt Category). When either is selected it should have taken me here: hidden link

Instead, I got: The two fields, which was great, but the search results appear on this page, instead of redirecting to the actual search results page.

#526439

To insert a View where you have the search results on another target page you can follow this DOC:
https://toolset.com/documentation/user-guides/front-page-filters/#displaying-custom-search

You can, when you insert the ShortCode with the GUI "Fields and Views", choose where to display the Results.

With the API you can render the whole output of the View:
https://toolset.com/documentation/programmer-reference/views-api/

For your goal, please follow the first link.

#526759

Got it. I think I had the incorrect shortcode in there. It's working now. Thank you.