You can embed a file that you have stored on Microsoft OneDrive. After you complete these steps, your document will appear on your post or page.
In this guide
- Visit the Microsoft OneDrive site, select the PDF file you want to embed, and click on the Embed icon on the top left.
- Copy the embed code that shows on the right sidebar.
- Create or edit a page or post, and paste the embed code into a Shortcode block. Once you update your post or page, the embed code will be automatically converted into a shortcode.
- After you publish your page or post, your embedded PDF file will appear on the page.
- Visit the Microsoft OneDrive site, and generate an embed code using these instructions from Microsoft.
- Create or edit a page or post, and paste the embed code into a Custom HTML block.
- Once you update your page or post, the iframe code will be automatically converted into a shortcode.
After you publish your page or post, your embedded Excel document will look something like this:
- Visit the Microsoft OneDrive site, and generate an embed code using these instructions from Microsoft.
- Create or edit a page or post, and paste the embed code into a Custom HTML block.
- Once you update your page or post, the iframe code will be automatically converted into a shortcode.
After you publish your page or post, your embedded PowerPoint presentation will look something like this.
- Visit the Microsoft OneDrive site, and generate an embed code using these instructions from Microsoft.
- Create or edit a page or post, and paste the embed code into a Custom HTML block.
- Once you update your post or page, the embed code will be automatically converted into a shortcode.
After you publish your page or post, your embedded Word document will look something like this.
If you need assistance with creating or managing files on Microsoft OneDrive, please visit the Microsoft OneDrive help page.