Skip Navigation

[Resolved] Show post into a page based on page cutom field

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

Last updated by Luo Yang 3 years, 3 months ago.

Assisted by: Luo Yang.

Author
Posts
#2198709

Hello I have created two custom post type: LYRICS and REVIEWS.

What I need is to have a custom field on REVIEWS to choose one of the existing LYRICS post
and to display the chosen lyric content into the review post.

I think I have to create a shorcode but dunno how to pass the chosen Lyrics ID.
Also how can I create the custom filed with a dropdown containing al the lyrics?

Thanks

#2198779

Hello,

You can try the custom reference field, see our document:
https://toolset.com/course-lesson/using-post-reference-field-to-set-up-one-to-many-relationships/

In the review post, you can display the related LYRICS post information, see section "Displaying Fields that Belong to the Related Post":
https://toolset.com/course-lesson/using-post-reference-field-to-set-up-one-to-many-relationships/#displaying-fields-that-belong-to-the-related-post