Hi, I've a CPT and a CTX. I've added a multiple image custom field to my CTX.
I built a block archive and I've added a gallery block. The image custom field is not available to select in the gallery block (see image).
I'm also interested in use the same gallery block in a content template that I will insert in a classic editor archive.
can you help me?
Hey, I found another related issue. I tried adding the images by this shortcode:
[types termmeta='taxonomy-gallery' title='%%TITLE%%' alt='%%ALT%%' size='custom' width='320' height='254' resize='crop' separator=' '][/types]
or this:
[types termmeta='taxonomy-gallery' size='thumbnail' index='0' separator=', ' url='true'][/types]
I always get the full image size instead of the custom or thumbnail size image.
cheers
Hi,
Thank you for contacting us and I'd be happy to assist.
Your observation is correct. The use of the taxonomy term custom fields as a source in the archive blocks is not supported. We have an internal ticket for this, but, I don't have any time estimate to share at the moment.
As you've already figured out, using the Toolset Types Fields API shortcode is the way to go, to show the current term's custom field data:
https://toolset.com/documentation/customizing-sites-using-php/functions/
As for your other report about the image sizes, I've created a separate ticket for that and will follow up on that shortly.
( ref: https://toolset.com/forums/topic/split-types-fields-shortcode-always-returning-full-size-images/ )
regards,
Waqar