Skip Navigation

[Resolved] Image Link Not Showing Custom Fields From Dynamic Source

This support ticket is created 4 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 4 replies, has 2 voices.

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

Assisted by: Luo Yang.

Author
Posts
#2001387

Hi,

I'm trying to use dynamic source for an image link, however, it won't load the custom fields from this custom post type. It works for all other dynamic sources, and toolset blocks, just not for the image link, or it seems links in general.

What I'm trying to do is use a URL on an image for email and a VCF download.

#2001389
paint.png

Here's an image where it should show the custom fields.

#2001521
url-link.JPG

Hello,

How do you setup the image you mentioned above?

I have tried Toolset image block and WordPress built-in image block, both works fine, see my screenshot url-link.JPG

Please check these:
1) You are using Toolset Types plugin to setup the custom URL field:
https://toolset.com/course-lesson/creating-custom-fields/

2) You are using Toolset image block or WordPress built-in image block to setup the image.
https://toolset.com/block-item/image/
hidden link

#2003835

Checking back in on this.

#2003889
vcf.JPG

Thanks for the details, I can login into your website, please check these:
1) In the field group "Attorneys", there isn't any custom URL field:
hidden link
So it is expected result:
use dynamic source for an image link, however, it won't load the custom fields from this custom post type

2) In your case, you can choose option "Custom URL", and output the custom vcf field value with shortcode:
[wpv-post-field name='wpcf-vcf']

See my screenshot: vcf.JPG

More help:
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#wpv-post-field