Changing the Download Links Within a WordPress Page

halo-robot

On this page when a user clicks on the image or button below it it downloads a PDF

To change the pdf file that is downloaded follow these steps:

1.Log into wp-admin

2. go to the page you want to edit and click “edit page”

3. Click upload media and upload the new file that you want users to download

4. Once the file is uploaded, select it (if it isn’t already selected) and on the right will be the details of the file. Find the URL field and select and copy all of its contents. Once copied, close the “insert media” box by clicking the x on the top right

5. In the edit page area click “text” so you can edit the HTML code rather than the visual editor

6. Scroll down and find the code for the button and image you want to replace. The <a href=”…..”> is the code which determines which file to download when the user clicks the image. Select all of the current URL details between the two quotation commas and paste the new URL over the top. Make sure the entire URL is pasted and that it sits between the two commas:

7. The button also needs to download the new PDF. Find the button code which should be just below it and find the <a href”…”> value for the button and paste in the new URL:

8. Click the “update post” button and you are done. You can now go to the front end of the site and test the page

James is a Digital Marketing Strategist at Halo Digital. For over 10 years, he has been working with Perth businesses, organisations and companies to generate leads through online search. His specialty is formulating strategic digital solutions from website design, messaging, keyword optimisation, content creation, and link building. He lives with his wife, Briony and four children South of Perth in Western Australia.

latest from
the blog.

illustration-of-people-around-a-big-computer

What Google Says About Landing Page Experience

Isometric illustration of lap top with page ranking icon elements

Page Experience Ranking Update in 2021

Wild-West-Isometric

Is Australia the Wild West of Google My Business?

Does Your Website Deliver?