Skip Navigation

[Closed] Error in the documentation

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 11 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.
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.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 10:00 – 19:00 -
- - - - - - -

Supporter timezone: Europe/Madrid (GMT+01:00)

This topic contains 1 reply, has 2 voices.

Last updated by Caridad 11 years, 4 months ago.

Assisted by: Caridad.

Author
Posts
#30586

In this page https://toolset.com/documentation/user-guides/querying-and-displaying-child-posts/
there is an error, the query key is not "_wpcf_belongs_property_id" but "_wpcf_belongs_post_id"

With "_wpcf_belongs_post_id" you query the children post types associated with the post id of get_the_ID()
Think it's what you meant, _wpcf_belongs_property_id doesn't work...

Thanks and bye

#30668

Dear Caroli,

In the documentation example, the parent post type is 'property', so the name is _wpcf_belongs_property_id. If your parent post type is 'post', then it would be '_wpcf_belongs_post_id'. In other words, we use the slug of the parent post type.

Please let me know if there is anything else that I can assist you with.

Regards,
Caridad

The topic ‘[Closed] Error in the documentation’ is closed to new replies.