Skip Navigation

[Gelöst] Displaying fields from Parent post

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:
How can I display data of the parent post, when we create a new child of this parent post with CRED?

Solution:
In CRED Forms you can have these ShortCodes to access Parent Post Information.

$Relevant Documentation:
https://toolset.com/documentation/user-guides/cred-forms-for-child-content/#information-about-parent-items

This support ticket is created vor 6 Jahren, 9 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von jasonH-5 vor 6 Jahren, 9 Monaten.

Assistiert von: Beda.

Author
Artikel
#616994

Hello,

I have a job listing site that lists job posts with a link to a job application using CRED. The application is on a page and is linked to using the shortcode:

[cred_child_link_form form="258" parent_id="-1" text="Apply Now" target="_self"]

The form displays but I created a title for the form showing what job the user is applying for but it is not showing the proper title.

I am using:

[wpv-post-title id="$job"]

But it is only displaying the name of the custom post the form is related to.

Thank you for your help...

#617009

In CRED Forms you can have these ShortCodes to access Parent Post Information:
https://toolset.com/documentation/user-guides/cred-forms-for-child-content/#information-about-parent-items

That should be the solution you are looking for.

#617066

Thank you. This solved my issue.