Skip Navigation

[Resolved] Custom Search to find post_id

This support ticket is created 5 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 4 replies, has 2 voices.

Last updated by Mario 5 years, 5 months ago.

Assisted by: Minesh.

Author
Posts
#1257473

Tell us what you are trying to do?
I have created a site of contractors and when an enquiry is made about a specific contractor I want them to reference them by the post_id.

I have set up the custom search but will not work for the post_id.

If this is not possible, can I assign a unique number to each contractor and use this as a search.

#1257783

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - yes, the second idea is good. You should create a custom field that should hold the unique ID value and then try to add custom search filter for this custom field.

More info:
=> https://toolset.com/documentation/user-guides/filtering-views-by-custom-fields/

#1258311

Hi,
I have created the custom field.
How do I create a unique number for the custom field and then assign this number to the custom field.
When the record is being created?

#1258313

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Well - you might want to assign the same post_id value to the custom field?

#1261661

My issue is resolved now. Thank you!