Hi @usmdamir
What do you mean with “taxonomy field name”? The field label? If so, this isn’t a Pods feature at this moment. Since labels are always the same you can just add set the label manually in your template.
Also, for files. Pods shortcodes only allow the file URL or thumb.
Any other data should be done through PHP. See https://developer.ww.wp.xz.cn/reference/functions/wp_get_attachment_metadata/
Cheers, Jory
Hi Jory
I created Custom Post type.
i used File / Image / Video field
with header editing enabled
I want to display the file header in the template
Hi @usmdamir
I understand, but as I said, this cannot be done in Pods Templates.
You need to use PHP templates for such functionality.
An attachment (file/image/video etc.) is just a Post in WordPress.
Some more info about how to do this in PHP: https://wordpress.stackexchange.com/questions/59061/get-attachment-title-based-on-attachment-id
One other solution you could try is this: {@field_name,get_the_title} though I have not tested this.
Cheers, Jory
You’re welcome! The best way to say thanks is to leave a 5 star review at https://ww.wp.xz.cn/plugins/pods/ and (if you’re feeling especially generous) become a Friend of Pods at https://friends.pods.io/
Cheers, Jory