Home › Forums › Front-end Issues › Embedding ACF Image into WordPress Image › Reply To: Embedding ACF Image into WordPress Image
Here’s the thing, you cannot get an ACF field that does not have a corresponding field key reference in the database. There was a time that this was possible. ACF has changed this so that fields that are not defined by ACF cannot be retrieved by ACF as a security measure.
Your next option would be to use get_post_meta(). This would work around ACF. Then you could build a custom shortcode to get the image ID or URL and go from there.
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.