Link in Wordpress

I have a button and I want to use it to link to a pdf documents that I've uploaded from the server into the media library. How do I make the button link to the pdf document in wordpress?
Barbara69Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ess KayEntrapenuerCommented:
Link button to a pdf file? get the address of the pdf file
then enter it here

<FORM>
<INPUT Type="BUTTON" VALUE="PDF FILE" ONCLICK="window.location.href='http://www.yoursite.com/yoursubdirectory/PDFFILE.pdf'">
</FORM>
0
Ess KayEntrapenuerCommented:
if by button you mean one of the menu items, those are no buttons. those are regular links

link menu

Use the menu editor to add a new link to the pdf
0
Barbara69Author Commented:
there's another button on the page that someone else created and the code looks like this <p>[button link="/tcdd-health-and-human-service-agencies-begin-sunset-review" size="small"]Sunset Review[/button]</p>. I just want the link = part to be a pdf document.
0
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

Barbara69Author Commented:
I got it to work. The error was in my file name.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ess KayEntrapenuerCommented:
cool
0
Jason C. LevineNo oneCommented:
Just for future reference the [button][/button] syntax is a WordPress shortcode and is probably added via a plugin.
0
Barbara69Author Commented:
Thanks for your advice.
0
Barbara69Author Commented:
I realized that I didn't include underscores in my file name.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
WordPress

From novice to tech pro — start learning today.