<?php if( get_field('manual') ): ?>
<button><a href="<?php the_field('manual'); ?>" class="btn">DOWNLOAD CATALOG</a></button>
<?php endif; ?>
Field Label: Manual
Field Name: manual
Field Type: file
Return Value: File URL
In the post, I am able to link to a .pdf file and it does show that the file has been selected, but the code above is not posting the information and creating a link.
Not sure what’s wrong. Anyone?
There is another topic that is similar to this one, you may have something in common. http://support.advancedcustomfields.com/forums/topic/5-3-6-upgrade-issue-not-displaying-some-fields/
I reverted a site to 5.3.5, added fields and values like the ones that are having problems with (post object, image, etc) and then updated to 5.3.6. I’m not seeing any issue.
What other plugins are you running? theme? You’ll need to narrow down where the conflict might be by disabling plugins and possibly trying on one of the default WP 20XX themes.
This appears to have something to do with fields that save ID values, not that I know what that might be.
I don’t know if their is a fix of not. I can’t reproduce the problem with the information I have and only using ACF and a default theme. I wouldn’t be the one to fix it anyway, all I can try to do is help you help me locate what’s causing it, if we can identify something specific then I might be able to help or point you in the right direction. When there is a problem that does not appear on a site that only running acf the next step is to deactivate other plugins and see if that clears the problem up.
Well I can’t say it worked for me.
I reinstalled the latest version (I already had it) and still nothing is posting in the frontend. It doesn’t make sense to disable the plugins because I have other ACF fields developed and they post just fine in the frontend.
So I went in a disabled most of the plugins (all but two: ACF and Woocommerce) and still nothing posting on the frontend.
The topic ‘Get Field not Posting’ is closed to new replies.
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!