I have an additional menu that appears on some single.php pages. To this menu I would like to add an li with a link to a PDF which is uploaded to the post by a custom field (advanced custom fields helps with this).
I found a snippet on how to add todays date to my menu, and thought I could maybe use this as a starting point. However I´m not good enough coder to know where to go from here. I would appreciate some help with it!
This is the snippet I´m starting with: http://pastebin.com/xHHxuHdQ
I need to make it display this instead:
<a href="<?php the_field('mcf_uppsagning-pdf'); ?>">Uppsägning</a>
I cant just replace it though and I dont know the syntax enough to know how to modify it. Please help :)