Home › Forums › Front-end Issues › File field: Getting url on localhost but getting post-attachment-id on server › Reply To: File field: Getting url on localhost but getting post-attachment-id on server
Hi!
I’m creating the field groups via wp-admin, on acf front-end.
After, i’m exporting via exporting tool (from acf) and including on my functions.php.
I’m using a network for many sites (government), so i need my custom fields defined on my theme, i can’t use json import/export process every time i need an update, for each site.
The site where i’ve created my cfs is id 3, same on localhost and webserver.
I can retrieve a lot of data correctly, but in some cases, i’ve got post-attachment-id instead of my return option.
I’m in contact with the acf team to find the solution.
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.