WordPress Tutorial Videos by WP101®

175+ WordPress tutorial videos for non-techies.

  • About Us
    • Top WordPress Products
    • Testimonials
  • WordPress Tutorials
    • Intro to WordPress
    • WordPress 101
    • AIOSEO 101
    • WP Mail SMTP 101
    • Easy Digital Downloads 101
    • WPCode 101
    • WP Simple Pay 101
    • RafflePress 101
    • Elementor 101
    • WPForms 101
    • Spectra 101
    • How to Blog Better
    • WooCommerce 101
    • Beaver Builder 101
    • Ninja Forms 101
    • WP Rocket 101
  • Help Forum
    • Hire a WordPress Expert
  • Blog
  • Contact
  • Sign In

How do I replace a pdf document which appears as a link within "raw html"?

Get answers to your WordPress questions!

Tired of wasting time scouring Google for answers to your WordPress questions? Since 2008, we've helped countless WordPress site owners just like you get unstuck. Get answers to your WordPress questions — plus unlimited access to our entire library of 150+ WordPress tutorial videos. Why not join us today?

View Membership Options
WordPress Questions and Answers › How do I replace a pdf document which appears as a link within "raw html"?
0 Vote Up Vote Down
J
Jeanette Fenyo
asked 8 years ago

I've successfuly uploaded the document. But I can't figure out how to do any editing within "raw html", let alone replace a document.

Shawn Hesketh replied 8 years ago

Hi, Jeanette. Can you clarify what exactly you’re attempting to do? You can’t edit the contents of a PDF file within WordPress. Are you trying to update or replace a PDF file to which you’ve previously linked? Once we’re clear on what exactly you’re trying to accomplish, I’ll do my best to answer!

2 Answers
0 Vote Up Vote Down
J
Jeanette Fenyo
answered 8 years ago

Hi Shawn

Sorry for not responding sooner - someone has done it for me in the meantime (without showing me!). But I will need to do this myself in future.

If you look at this page http://fenyo-musicmakers.co.uk/past-events/ and scroll down, you'll see a horizontal list of links: Artists Timeline Repertoire Sponsors Gallery. Three of these open as PDF files. When I went onto WordPress, I discovered that all these links are within "raw html".

I will be updating the information in the Repertoire PDF in future, at which time I will simply upload the revised PDF file to WordPress. However, I can't see how I can replace the PDF within 'raw html'.

Hope this is clearer. Thank you.

Jeanette

0 Vote Up Vote Down
Shawn Hesketh answered 8 years ago

Thank you for providing a link to the page in question, Jeanette. It helps so much to see what you're trying to accomplish. Still, I'm not sure what you mean when you say that the links are “within ‘raw html’”.

To update those links in the future, first upload the new PDF file(s). Then, open the page in the Editor, and click on the link you wish to update. In the pop-up, click the Edit button to edit the link, replacing it with the URL to the new PDF file you just uploaded.

In this video, I demonstrated exactly how to upload a PDF file and create a link to it: https://wp101.com/tutorial/using-the-media-library/

And you may also want to review this video on how to create and edit links: https://wp101.com/tutorial/how-to-create-a-link/

With these instructions, you shouldn't need to edit any ‘raw html’ at all.

Hope this helps!

Please login or register to join the conversation!

Share this with someone?

FacebookTweetLinkedIn

Most Recent Questions

  • I took the Sprectra 101 course. Now I’m building my won web site but I still have the Specra Style Guide and I think it’s causing an issue with Sprectra One. How do I get rid of the Style guide? asked by Mallis01, 1 year ago
  • Can you offer any tips, or best practices, on how to redesign and upgrade an old website? asked by FSAuthor, 1 year ago
  • How to create a blog in Spectra? asked by TJ, 1 year ago
  • How do I make all the words show Uppercase? asked by iLoveToLiveWell.com, 1 year ago
  • Why does my right side dashboard top look different than course. asked by Blues1947, 2 years ago

Site Links

  • About Us
  • Your Account
  • Products We ❤️
  • Affiliates
  • Testimonials
  • Blog
  • Contact Us

Courses

  • WordPress 101
  • WooCommerce
  • Elementor
  • Spectra
  • WPForms
  • Ninja Forms
  • View All →

Products

  • WP101.com
  • WP101 Plugin
  • Embed our videos on your site!

Recent Posts

  • Best WordPress Order Form Plugins 2025 – Expert Review & Comparison
  • Find Your Ideal Domain Name: Best Registrars in 2025
  • MonsterInsights Review: Best Google Analytics Plugin for WordPress (2025)
  • WordPress SEO 101: Complete Beginner’s Guide in an AI Era
  • 13 Best Payment Plugins for WordPress Sites (Expert Review)

Connect with Us

  • Email
  • Facebook
  • Twitter

WordPress Tutorials by WP101© 2008-2025 WP101® LLC. All rights reserved.
WP101® is a registered trademark with the U.S. Patent and Trademark Office.
WP101® is hosted by SiteGround.
Privacy Policy | Terms of Use | Disclosure | WP101 Coupon