Home › Forums › General Issues › How do I embed acf "file" fields › Reply To: How do I embed acf "file" fields
I was able to view the video.
You cannot put PHP code in a wysiwyg. You cannot use a shortcode as an attribute of an html tag. In addition to this if you are attempting to use a shortcode then the ACF field must be attached to the same post as the content. If you want to use a file field and insert and iframe in a wysiwyg field then you will probably need to build your own shortcode to do it. Beyond this I’m not 100% sure what you are trying to do, or where the fields are, or how that location relates to the post where you are attempting to insert the iframe.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
CPT registration is coming to ACF! We demoed the new feature during the most recent session of ACF Chat Fridays. Check out the summary for the details. https://t.co/k2KQ3WWBAz— Advanced Custom Fields (@wp_acf) March 7, 2023
© 2023 Advanced Custom Fields.