WordPress content is composed of text, documents, and media. In this case, unlike Text and media, including 3rd party documents in WordPress content requires extra maneuvers.
In such scenarios, let’s learn how to insert and show documents in WordPress pages and posts. If you’re using a page builder like Divi Builder or Elementor, showing documents in content may require simple add-ons. On the other hand, manual routines may ask for extra plugins in WordPress.
Let’s proceed and describe the subject in more detail.
Show Documents in WordPress Pages and Posts
Note: By default, WordPress editor allows inserting documents in content. However, beginners may need extra attention when adding files into content, such as PDFs, Spreadsheets, or media files.
Add PDF Files to WordPress without a Plugin
If you’re using Gutenberg Editor in WordPress, adding a PDF file in WordPress content is a matter of clicks. In this case – all you have to do is to insert a relevant block in the content, followed by configuring its settings at the right panel.
The method doesn’t require any plugin and is achievable by inserting the File block. Once loaded the Gutenberg Editor, you can insert a File block, as shown in the screenshot below.
Once added, you can upload a PDF file to WordPress. Once you have finished the process, you can see a Download button next to the file name. Now, users can download the PDF file in order to view and see the file’s content.
Add and Show Word and Spreadsheets in WordPress
As described above, adding PDF in WordPress content doesn’t require additional routines or add-ons. However, the case is different when adding Word and Spreadsheets to WordPress pages and posts. You will need to use a plugin called “Embed Any Document”.
Once you have installed the plugin, you can proceed and add a new Document block in WordPress content. The block’s settings allow users to upload a file from various locations.
Next, once the file is uploaded, make sure to set the necessary adjustments, such as responsive view, Download link, and anchor text for the file – as shown in the screenshot below.
Once the settings are adjusted, you can see your blog post’s front-end. Now, the document is shown on the page. Next, on the dashboard’s right panel, you can set appropriate options to adjust the file’s front-end view.
Add Slideshare presentations to WordPress Pages and Posts
In WordPress, adding Slideshare presentations doesn’t require plugins. Instead, you can add a Slideshare presentation using WordPress default options.
When loaded the Gutenberg editor, you can insert the Slideshare block from the available options. Next, the block will ask for a URL of the Slideshare presentation.
As shown in the screenshot below, you can enter and proceed with a Slideshare presentation’s URL.
As directed on the screen, you can proceed and save changes at the end. You can now see the blog post’s front-end view for the presentation. To get more things done, you can change and set the dashboard block’s settings at the right panel in dashboard.
Adding online Documents in WordPress
If the file you want to include in WordPress resides on Google Drive, here is the method that helps you insert online documents in WordPress pages and posts.
In this case – the block you’ll be using in Gutenberg Editor is Custom HTML. The road map consists of copying code from Google Drive, followed by using the WordPress custom HTML block in the dashboard.
Once you’re on the Google Drive home screen, load the file you’d like to insert in WordPress content. Next, click File and choose Share -> Publish to Web.
On the next page, Google helps you copy the code to embed the file into WordPress content. Proceed and copy the code – as shown in the screenshot below.
Now – it is time to include the Custom HTML block in WordPress content. Once added, paste in the code you have copied from Google Drive and save the changes. If you need to adjust more options, do things accordingly.
Once you’ve finished the process, you can update or publish the WordPress content. Now, you are ready to view the content’s front-end to see if the process went successfully.
How to Embed Documents in WordPress Content: Tips and Best Practices
By default, WordPress allows adding basic documents in WordPress content, such as PDF and Slideshare presentations. However, if you need to insert Word and Spreadsheets in WordPress, you can use a plugin like Embed Any Document.
If you know how to use WordPress document automation with API integration, you can also use a Tool for creating automated documents. In this case, automation helps you save time, money, and work while helping you to create, embed, and show documents in WordPress pages and posts.
You can also track file downloads in WordPress. In this case, you can use the Pretty Links plugin for tracking WordPress URLs or file downloads. Here – the plugin’s free version plays well for most users of WordPress.
What are your thoughts?
Finally, you have learned the way to include documents in WordPress. Some methods require WordPress plugins, while others use WordPress default options.
When added a document in WordPress, you can see the block’s right panel for more options. For example, once you have added a Google spreadsheet with a custom HTML block, you can also adjust responsive settings in the block’s right panel in dashboard.
If you only need to make a file downloadable for users, you can upload the file to WordPress Media Library. Once uploaded, insert the direct link into WordPress content. For example, once you have added a PDF, providing a direct link in WordPress content will help users view and download the file in the web browser.
If you need the expertise to include documents in WordPress, perform WordPress maintenance, or remove errors, let us know to help you get things done without affecting WordPress performance and stability.