I am trying to use an ACF text field in a <object> tag, but it is not rendering.
I am using a CodeBlock in WP to display a PDF inline on the page, but I can’t get the ACF tag to work inside an object tag. What I have is:
=== begin code block ===
PDF File URL: [acf field="resource_file_url"]<br>
=== end code block ===
In the above example, the file URL is displayed on the page, but not inside the object tag (viewing the SRC, it is blank). Does anyone have a way to do this? I have tried different methods of displaying the ACF field too, and none of these work either inside the tag (while some do display the URL):