Skip Navigation

[Resolved] How to get a list of custom field checkboxes for a particular custom post.

This support ticket is created 3 years 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by ryutaS 3 years ago.

Assisted by: Luo Yang.

Author
Posts
#2546859

I want to get a list of custom field checkboxes for a particular custom post.
This is not the acquisition of the list checked by article unit, but all items of the check candidate.
How can I get it in toolset?

#2547047

Hello,

There isn't such kind of built-in feature, as a workaround you can try many-to-many post type relationship:
https://toolset.com/course-lesson/many-to-many-post-relationships/

It should be able to connect posts just like the checkboxes field you mentioned above, and you will be able to query the related posts easily:
https://toolset.com/course-lesson/many-to-many-post-relationships/#displaying-related-posts

#2548455

Hello, thank you for your prompt reply!
I didn't know about that feature. I would like to try. thank you.