Skip Navigation

[Resolved] I want to get the id of a parent item

This support ticket is created 6 years, 2 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 1 reply, has 2 voices.

Last updated by Joan 6 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#1140603

I'm trying to get the parent title of the custom post title and save it as the item title.

I get it some time ago through this ticket: https://toolset.com/forums/topic/assign-parent-post-title-to-child-parent-post-title/

Now it stops working. I get the title of the page instead of the custom post type. The: "get_the_title($_POST['_wpcf_belongs_CPT_id']) " stops working.

What has to be the new way to get thew title of the parent.

If is possible I don't want to migrate to the new relationships. This is the only place were I use relationships.

Thanks

#1141072

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - I would like to know here what Toolset plugin set you are using?

Could you please send me debug information that will help us to investigate your issue.
=> https://toolset.com/faq/provide-debug-information-faster-support/

In addition to the above, could you please share problem URL where you added your form with access details?

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

I have set the next reply to private which means only you and I have access to it.