- This topic has 5 replies, 2 voices, and was last updated 11 months, 2 weeks ago by .
I’m having a hard time understanding the best route to take for what I’m needing. I need to allow the user to upload a pdf and also give that pdf file a specific name to display on the front end. So the end result would need to look like this: https://d.pr/free/i/Rcyngm
I’m currently using the “file advanced” upload field for the pdf. But when I use the shortcode [rwmb_meta id="monthly_pdf_calendar"] it shows as an unordered bullet point and displays the filename like this: https://d.pr/free/i/7SCqtA
- How can I change the filename to something custom? What I really would like is for the user to be able to type in a text field the name of the file and have it display in the output.
- How would you go about doing this?
Lastly slightly related – Since I couldn’t figure out how to best do the above. I tried a different approach. I have a custom visual composer button module that allows me to pull in the link value of a custom meta field. I just add in the custom fields ID and it pulls in the value. But in this case the value it pulled in is “2931”. See screenshot example: https://d.pr/free/i/klZ1MU
This didn’t work as the value needs to be the full link path to the pdf. How can the full link path be added to the value as opposed to the “2931”. Also what is the “2931” saying?
Thanks in advance!
- You must be logged in to reply to this topic.