How Do You Add a PDF Embedder in WordPress?

Adding a PDF Embedder in WordPress is easy. First, you must create a file called pdf_embed.

php in your theme’s plugin folder. This file should contain the following code:.

Download the Sample PDF

If you want to embed a PDF in an existing post, simply add the url to the PDF file as a text input field, like so:

If you want to disable the PDF Embedder altogether, you can do so by adding the following line to your theme’s functions.php file:

woo_pdf_embed::disable();.