I’ve looked on the forums and google for this, and I can’t find anything exactly right:
I have a universal navigation, one link is “Print PDF” - I don’t want to hand code each page individually.
How can I use the current page url - such as “website.com/accomodations.php” to print a PDF named after the page, like “accomodations.pdf”, or even better “pdfs/accomodations.php”?
OR just any way to print a PDF associated with the current page - I guess it doesn’t necessarily need to be the URL that links the files.
Thanks in advance for your help!