The [academy_pdf] shortcode shows a PDF right inside a page, course or lesson, so students can read a syllabus or worksheet without leaving your site.
[academy_pdf src=”https://yoursite.com/wp-content/uploads/2026/09/syllabus.pdf”]
1. Upload the PDF and copy its URL
2. Add the shortcode
You can paste the shortcode anywhere shortcodes work: a page, a post, a lesson’s content, or a course description.
To add it to a course page in the block editor:
src.
Open the course on your site. The PDF shows in a viewer.
Shortcode options
|
Option |
What it does |
Default |
|
|
The PDF’s URL. Required. |
Empty |
|
|
Width of the viewer, e.g. |
|
|
|
Height of the viewer, e.g. |
|
The viewer never grows wider than its container, so it fits on phones too.
You can also copy the shortcode from Academy LMS → Tools → Shortcodes, where it is listed as PDF Embedder.
Troubleshooting
src is the direct link to a .pdf file and that the file opens in your browser.








