- Upload a pdf via the media dashboard or WYSIWYG.
- Add the document's title as text in the WYSIWYG.
- Link the text to the pdf file uploaded.
- Under Advanced accordion when editing or creating the link add the following text to the CSS Classes field "pdf-viewer".
- Add the "general-pdf-embed" additional libraries to the page, instruction here.
Note: If you are linking to the file with its media URL (recommended) it won't load when viewing the page logged in, but will if not logged in. Using the direct URL to the file will resolve this issue, you can find this on the Media dashboard.
Umthombo-4-web pdf