Tell us what you are trying to do?
I want to add a download button on my custom template, so users can download a pdf file for each custom post. I added a button, selected "dynamic button URL", I can select my custom fields group, but after that I can only select custom fields (e.g. for images, and videos) but not for the file custom field "file", which contains the PDF. Any ideas?
Is there any documentation that you are following?
standard Toolset documentation
Is there a similar example that we can see?
It would appear that file fields are not supported as a Dynamic URL option for the Buttons Block. I See on our system that a ticket was created for this and our development team has already addressed the issue. You will be able to use file fields as a Dynamic URL option in a future release.
However a workaround to this is that you can manually add the shortcode to your template inside an anchor tag and then style that anchor tag to appear as a button.
Have a look at the link below. hidden link
An example of how you will format the anchor tag with the shortcode for your file field would be.
Thanks Shane, much appreciated! Could you please have a look at the following? I think, I'm doing sth wrong as the output is not as expected. Many thanks and kind regards, Andreas