I’m having problems getting a custom field called ‘link’ to show up in the sidebar of a page. The custom field is added in a custom post and is shown up in the sidebar of various pages. Not sure what I’m doing wrong as have tried various combinations of get_field but can’t seem to get it to show up.
I then thought it was probably because it needs to get the field from the particular post which has an id 510 but I can’t seem to figure out the code needed to get it to show up in the sidebar.
Hope that’s explained correctly; any help much appreciated!