PDFG Support
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Embedder] How to set the expire date of a Pdf fileHi @cuhkrain,
I’m sorry to disappoint you but the PDF Embedder does not have any download management functionality beyond providing a download point and tracking the number of downloads/views of the document. If you want to control access to the download, you would need a download management tool to handle that functionality for you (i.e. digital downloads, download manager, etc.)
Forum: Plugins
In reply to: [PDF Embedder] Classic Editor – insert only the linkHi @woodypad,
The Attachment page option is a paid feature. Please see:
- https://wp-pdf.com/premium/
- https://wp-pdf.com/kb/how-best-to-add-multiple-pdfs-to-a-single-page-or-post/ This tutorial uses a thumbnail image but a text link could be done just as easily
Forum: Plugins
In reply to: [PDF Embedder] Classic Editor – insert only the linkHi @woodypad,
The Classic edit > Add Media will automatically insert the PDF as the embedded viewer. If you only want a link to the PDF, there are two options to do this:
- Use the WP File block which will insert a text link to the PDF. You can optionally enable the download button as well, or
- Add a bit of PHP code to disable the automatic insertion of the shortcode. This will cause your PDFs to be added to the page as a text link by default. To embed a PDF in the viewer, you would need to manually enter the shortcode [pdf-embedder url=”path-to-pdf.pdf”] to initiate the viewer. (PHP code tutorial: https://wp-pdf.com/kb/stop-the-pdf-embedder-shortcode-being-inserted-into-posts-automatically/
Forum: Plugins
In reply to: [PDF Embedder] How to add Bookmarks in the Catalog.PDFHi @craftbilt,
Yes, the functional hyperlinks is a paid feature of our Premium and Secure versions.
Forum: Plugins
In reply to: [PDF Embedder] How to add Bookmarks in the Catalog.PDFHi @craftbilt,
I’m sorry to disappoint you but the plugin does not support a sidebar navigation/thumbnail navigation. It will support a hyperlinked table of contents as part of the document (usually seen at the beginning of a document) but not as an independent part of the document.
Forum: Plugins
In reply to: [PDF Embedder] Strange size in elementor accordion widgetHi @carloshf,
The PDF viewer size is calculated on the initial page load but with AJAX elements such as tabs, accordions, and sliders, the viewer size is calculated and doesn’t adjust further as the elements are opened and closed because the event calling the calculation isn’t called again. To fix this, please see https://wp-pdf.com/kb/the-viewer-doesnt-display-at-all-or-at-wrong-size-when-inside-a-javascript-based-tab-or-ajax-page-transitions/ in particular the first section regarding the “resize” event. This is something that would need to be added to your theme (preferably as a child theme’s custom JS file or as part of a customisation plugin). You may require assistance from the theme developer if you are not comfortable coding for yourself.
Forum: Plugins
In reply to: [PDF Embedder] Hide zoom buttonsHi @clevelus,
You can hide the zoom buttons and associated text with a bit of CSS added to your child theme’s styles.css or the Appearance » Customize » Additional CSS:
/* HIDE ZOOM BUTTONS AND TEXT */ .pdfemb-zoomin, .pdfemb-zoomout, .pdfemb-zoom, .pdfemb-toolbar div:nth-of-type(2) { display: none; /* may need to add !important */ }Forum: Plugins
In reply to: [PDF Embedder] PDF Embed stuck on ‘loading’Hi @emaweb1216,
There is a conflict occurring that is preventing the pdf.worker.js file from being loaded on the page. The other PDF scripts are being loaded but something is preventing them from outputting the viewer on the page. When that particular error “script is not defined” has occurred in the past, it has been due to a conflict—usually a GDPR plugin or Facebook pixel scripts. The best way to locate the issue would be to temporarily deactivate other plugins and enable them one at a time until the viewer fails again. This would indicate the source of the conflict.
If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.
Forum: Plugins
In reply to: [PDF Embedder] Not compatible with LMS (EduKul)Hi @mbers,
We do have other customers using the PDF Embedder plugin successfully with LMS. However, you will need to use a slightly different method of embedding the PDF if the blocks editor is not present or the PDF Embedder block is prevented from being displayed in the menu.
Using the Classic Block, you can use the Add Media option to select your PDF and embed it in the lesson content (https://wp-pdf.com/kb/gutenberg-editor-and-pdf-embedder/)
You can also manually enter the shortcode
[pdf-embedder url="path-to-pdf.pdf"]where the path-to-pdf.pdf would be replaced with your own copy/paste document URL.If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.
Forum: Plugins
In reply to: [PDF Embedder] Example using a grid layout for multiple pdfsHi @dillydally,
With the PDF Embedder Premium and a thumbnail image—either provided with WP_Image_Editor_Imagick support or the PDF Thumbnails plugin—you can embed the PDF using the image that is linked to the PDF’s attachment page. This method allows you to align your thumbnails using the default WP image alignment options making editing the HTML and table layouts unnecessary.
As of the latest updates, WP automatically inserts a caption as part of the image insertion process.
We have a tutorial on creating grid layouts with the two plugin mentioned here: https://wp-pdf.com/kb/how-best-to-add-multiple-pdfs-to-a-single-page-or-post/. Please note that the method does require the paid version of the plugin.
If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.
Forum: Plugins
In reply to: [PDF Embedder] Not LoadingHi @quiztoon,
This sounds like a caching issue as in you have different caching rules for logged out users than those visitors that are logged in. Make sure that the scripts are not being handled differently for the two types of users. For more information on caching with the PDF Embedder plugin, please see our FAQ.
I do want to mention that I also looked at the page you provided the link to. You may have altered the page since posting this message but in the source code, I could not find an instance of the PDF Embedder code (most easily found by searching for “pdfemb”) and the document itself threw a Not Found on server error. If the document can not be navigated to, the PDF Embedder when in place, can not load it either.
If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.
Forum: Plugins
In reply to: [PDF Embedder] pdf embedderHi @paulj1202,
The “PDF Embedder requires a url attribute” error would indicate that there isn’t a address inserted into the shortcode or that the formatting of the shortcode has been broken, most likely due to a conflict with the content editor on your site.
Depending on how you put together your content, the method of adding a PDF to the page may differ. Please see:
- https://wp-pdf.com/kb/drag-and-drop-layout-builders/
- https://wp-pdf.com/kb/gutenberg-editor-and-pdf-embedder/
If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.
Forum: Plugins
In reply to: [PDF Embedder] Shortcode not workingHi @melmoataz,
This error is most likely due to a caching conflict. Please see https://wp-pdf.com/kb/setting-up-fake-worker-failed-error-message/
Emma
Forum: Plugins
In reply to: [PDF Embedder] shortcode not working on ajaxHi @klinelozada,
The PDF Embedder is called for and the viewer dimensions calculated on the initial page load but with AJAX sometimes the scripts are not called on that page load and can not render the viewer. To fix this, please see https://wp-pdf.com/kb/the-viewer-doesnt-display-at-all-or-at-wrong-size-when-inside-a-javascript-based-tab-or-ajax-page-transitions/ in particular the script required to initialize the viewer. This is something that would need to be added to your theme (preferably as a child theme’s custom JS file or as part of a customisation plugin). You may require assistance from the theme developer if you are not comfortable coding for yourself.
If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.
Forum: Plugins
In reply to: [PDF Embedder] Full Screen ViewHi @chasls123,
It isn’t possible to open the viewer in the full-screen mode by default as this behaviour does require user input to initiate.
I think what might be useful to you would be creating a custom page template within your site’s theme. Creating a custom template would allow you to eliminate any sidebars, widgets, or other content that would normally be populated to the page. There are a couple of resources I can point you to that would be helpful:
- WordPress Child Themes: https://codex.wordpress.org/Child_Themes
- Page Templates: https://developer.wordpress.org/themes/template-files-section/page-template-files/
- Full Width Page Templates for Any Theme: https://wordpress.org/plugins/fullwidth-templates/
If you have any other questions, please feel free to send an email to contact@wp-pdf.com as we may not see messages posted here to respond in a timely fashion.
- This reply was modified 5 years, 7 months ago by PDFG Support. Reason: Fixed incorrect file path