This is driving me bananas. It is not working correctly and it is also placing the text from the shortcode in the top left corner of the page.
`function dinner_menu() {
echo ‘<a href=\”‘;
echo the_field(‘dinner’);
echo ‘\”>Dinner Menu‘;
}
add_shortcode(‘dinner’, ‘dinner_menu’);’
The shortcode field is a File and the return value is a File URL of a PDF uploaded by WordPress. I know this is more of an ACF issues, but can you help? Thanks in advance.
URL: https://staging.thatplaceinogunquit.com/menus/