Skip Navigation

[Closed] Search of my Toolset custom post type

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.

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 1 year, 4 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2640237

Tell us what you are trying to do?
Hello, I am trying to make a simple search form on our site - but we are using the YooTheme framework and I'm facing difficulties. I'm hoping there is an easy answer. Earlier in the project, we were having issues with the page archives refusing to play nicely with Toolset, so we ended up sidestepping that issue by creating everything within YooTheme.

However, now our customer, understandably, wants to have a search that only searches through our custom post type, not a full-text website search when they are searching for funerals.

It shows up perfectly, but when I do a search, things go massively awry...

Can anyone confirm that this is compatible with Yootheme framework (their own website references Toolset so I thought from the onset they would be compatible) and if so, step me through what I should need to do to take my existing Viewings custom post type to be able to add a custom search which only searches through “Viewings” by Post Name?

Is there any documentation that you are following?
I couldn't figure out how to do this so I followed a tutorial on your site. I created a view, added it to a page, and took the embed code it created: [wpv-form-view name="custom-viewings-search" target_id="self"] And added that to my homepage using the Yootheme builder.

Is there a similar example that we can see?

What is the link to your site?
hidden link is the homepage of our test site.
hidden link is the custom post type we created for Viewings. If I search for "christopher" I would expect my test one to show up, but it does not, instead, the page simply refreshes and all this is added to the URL: hidden link

EDIT:
Also where is the location to add private information to this ticket?? I used to be able to. I don't want to post my usernames and passwords obviously for anyone to access our website? Or is this ticket private? Sorry I haven't needed support in a while! Thankfully! 🙂

#2640471

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

The private reply option is enabled and you can check it upon the next reply.

We do not have any integration with YooTheme so it might be the case that Toolset and YooTheme are not compatible.

The only thing that I can suggest is to create the search feature in legacy views. You can enable it:

- Go to "Toolset > Settings > General".
- Find the "Editing experience" section.
- Check the "Show both the legacy and Blocks interface and let me choose which to use for each item I build" checkbox.
- Reload the browser page.
- Go to the newly added "Toolset > Views" menu.
- There you will be able to edit the views.

For more information:
https://toolset.com/course-lesson/enabling-legacy-version-of-toolset-views/

Then you can follow the instructions below to create a custom search:
https://toolset.com/documentation/legacy-features/views-plugin/front-page-filters/

Then, as mentioned in the documentation you can use the shortcode in the YooTheme.

If it is not working ok, please backup your website and temporarily deactivate YooTheme and it's plugins and add the shortcode in a simple test page.

If it works there then the issue is a compatibility with YooTheme and Toolset.

thanks.

The topic ‘[Closed] Search of my Toolset custom post type’ is closed to new replies.