[Closed] 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 5.48 hours from now. Thank you for your understanding.

Related documentation: WordPress Custom Post Types

This topic contains 5 replies, has 2 voices, and was last updated by  Christian Cox 6 months 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-05: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-05: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-05: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)

The topic ‘[Closed] Custom types search is not working’ is closed to new replies.