Skip Navigation

[Closed] How add multi child post to Parent Post

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 9 years, 8 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
- 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 Luo Yang 9 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#238214

I have over 10000 child post, how to i add multi child to parent post sametime. I do not want no child ever post and then click the Update Post button Parent, it's tired.

#238331

I need help, please !

#238474

Hi davidV-4,

There is a custom field in your child post to store parent post ID, for example the parent post type is using slug "property",
then the custom field slug is "_wpcf_belongs_property_id", you can try wordpress function update_post_meta() to set child posts parent:
update_post_meta
The function update_post_meta() updates the value of an existing meta key (custom field) for the specified post.
http://codex.wordpress.org/Function_Reference/update_post_meta

The topic ‘[Closed] How add multi child post to Parent Post’ is closed to new replies.