[Waiting for user feedback] Custom types search is not working

This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Our next available supporter will answer your ticket in about 10.78 hours from now. Thank you for your understanding.

You are not logged in. You can view support threads, but not post.
If you are already logged in, please refresh your browser.

Related documentation: WordPress Custom Post Types

This topic contains 5 replies, has 2 voices, and was last updated by  Christian Cox 1 week, 2 days ago. The support staff assigned to this topic is Christian Cox.

Viewing 6 posts - 1 through 6 (of 6 total)
Author
Posts
#520326

One of my clients is experimenting some issues… basically they create a custom type called Offices, and start offices from all around the country there..

but when they try to look for an office from a specific place... lets say "X City" all we are getting is Nothing Found!

And the X CITY is created... we can scroll all the way down and get into that office and make any modification...

The publicly queriable argument, is enable... but for some reason is not working...

any idea?

Thanks in advance!

#520352

Christian Cox
Forum moderator

Supporter languages: English (English )

Supporter Timezone: America/New_York (GMT-04:00)

Hi, can you tell me a bit more about your site:

- How are City and Office related?
- Is City a custom post type with a many-to-many relationship, or is it a custom field within Office? If so, what type of custom field? What is the field slug?
- What type of search are your clients using? Is this a WordPress search, or a Views text search, or a custom field filter?

#523433

Hello Christian and thanks for your reply!

Basically:

- How are City and Office related?
You have offices in different cities...

- Is City a custom post type with a many-to-many relationship, or is it a custom field within Office? If so, what type of custom field? What is the field slug?

it a custom field within Office; the field slug is office.

- What type of search are your clients using? Is this a WordPress search, or a Views text search, or a custom field filter?

We are using wordpress search.

Cheers!

#523995

Christian Cox
Forum moderator

Supporter languages: English (English )

Supporter Timezone: America/New_York (GMT-04:00)

Hi, if you'd like to search custom fields using the standard WordPress search, you should read the following guide for integrating Relevanssi:
https://wp-types.com/documentation/user-guides/searching-texts-custom-fields-views-relevanssi/

Install the plugin and follow the instructions to enable custom fields in your search results. Note that only some types of custom fields are compatible. Let me know if you have further questions after following the instructions in the guide.

#525398

Hey Christian, thanks for your reply...

I will be applying this solution and I will let you know...

Cheers!

#525448

Christian Cox
Forum moderator

Supporter languages: English (English )

Supporter Timezone: America/New_York (GMT-04:00)

Very good, keep me posted. This ticket will remain open for 30 days if no additional comments are added.

Viewing 6 posts - 1 through 6 (of 6 total)

You are not logged in. You can view support threads, but not post.
If you are already logged in, please refresh your browser.

Known issues and their solutions

We document known issues and their solutions in Toolset erratas. Save time by checking there first and seeing if what you are facing is a known issue. This list is kept short. We do our best to resolve all known issues with every release of Toolset plugins.

Support Policy

Toolset staff will help you use the Toolset plugins correctly, provide any information you need, help troubleshoot problems and advice on best-practices.

Please make sure to issue only one topic per each support ticket.

For more information, read our full Customer Support Policy.

Need custom programming work for your site? Check out our certified partners.