Skip Navigation

[Resolved] post type

This support ticket is created 5 years 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
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

Author
Posts
#1478423

Tell us what you are trying to do?
I created a post type (guides) and I like to use this for my tour gudes details like name, image etc
then, I created relationship with another post type, and I like to use the guide details like image, description in the other post type / product page.

I can choose in the product the guide post, and I also can find the custum field fo Image in elementor,
but in fact, It dosnt show the image in the page.

hidden link

#1479741
Screen Shot 2020-01-26 at 3.15.03 PM.png

Hi, it sounds like you want to display a custom field from a related post using Elementor's dynamic content feature. Is that correct? If so, unfortunately the Elementor integration with Types fields in dynamic content does not allow you to select a related post as the source of the dynamic field. This is a limitation of the dynamic content integration with Toolset Types.

To display information from a related post, you can use Types field shortcodes. If you are not familiar with Types field shortcodes, you can generate those shortcodes automatically in a Content Template. Go to Toolset > Content Templates and create a new Content Template. Choose "Don't assign to any post type" in the popup. Then click "Fields and Views" above the text editor and choose the custom field you want to display. Next, choose any of the field configurations you would like to modify. After that, click the Post Selection tab and choose the post relationship and related post type. I am attaching a screenshot here showing the Post Selection tab active.

Once you have finished, click "Insert Shortcode" and the system will generate the appropriate shortcode for your custom field. Copy that field and paste it into your Elementor design using a Text widget (for best results do not user a shortcode widget).

Let me know if you have questions about this or if I misunderstood your request. I'll be glad to take another look and provide feedback.