Critical error when attempting to add a dynamic link to a button in custom post template
Hello, I am working on a single template for a CPT on my website. Each location page requires different links. I used a URL field in my post, and when I tried to add dynamic data to the button element's link field, the template broke.
Thinking this was an issue with the URL field in acf, I deleted the field, and replaced it with a text field. The old dynamic data for the deleted field is still showing up in the template, and I do not see dynamic data for the new field.
Any help with getting this fixed is appreciated!
Comments
Hi,
Please attach screenshots showing how you set it up in WordPress.
Thanks