PDFG Support
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Embedder] div.pdfemb-toolbar widthHi @martinbrucker,
What theme are you using? I would try placing a parent div around the embedded viewer to see if that contains the toolbar and/or try setting the maximum width for the viewer within the plugin settings to match the value of your column width.
Forum: Plugins
In reply to: [PDF Embedder] Current error?Hi @daveporter,
The issue is due to the Lite Speed cache. The following steps have been used successfully with others using that caching tool:
- Make sure that you are using the most up to date version of the plugin
- Exclude the scripts from the caching rules
- The scripts should also be excluded from any aggregation or compilation of strings.
- It may also be necessary to manually delete the minified script from the cache
- Finally, clear your browser cache and reload the page.
- `
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] Selecting textHi @barteksz,
The PDF Embedder viewer does not currently support selectable or searchable text within the embedded PDF document. This is something that we are working on to add to the plugin in an upcoming update.
Forum: Plugins
In reply to: [PDF Embedder] Hiding download button when using PDF Embedder PremiumHi @halfaro,
The download option (displaying a download button in the toolbar) is a Premium feature and can be set as a default within the plugin settings and additionally be toggled on|off using the shortcode attribute you noted.
The right+click mouse behaviour can be blocked with the PDF Embedder Secure plugin (you do not need to buy both the Premium and Secure versions as the Secure version has all the Premium features plus the extra security options.). Please see https://wp-pdf.com/secure/.
Forum: Reviews
In reply to: [PDF Embedder] Masquerades as a one time purchase… until checkout.Hi @mikejkelley,
We’re sorry to hear that you were not happy with the purchase experience of the PDF Embedder Premium plugin. The Secure and Premium plugins both includes 12 months of support and plugin code updates. This will be reflected by the expiry date you will see when you activate the plugin license on your site.
At the end of the 12 months, the license will renewed automatically for your convenience with a 20% discount over the original purchase price. This is stated in our Pre-sales FAQ and on our Terms of Service agreement which is available here and linked to at the time of purchase.
If you choose not to renew (i.e. you cancel the license from your account dashboard), the plugin is yours to use forever but you will no longer receive the updates or have support access once the license expires. The plugin will continue to function as we do not do anything to disable the functionality; however, please be aware that we cannot guarantee continued functionality due to changes made to the WP core and other external factors.
Forum: Plugins
In reply to: [PDF Embedder] PDF embed large grey areaHi @hettyvanderwal,
Do you have a manual height set on your embed? This would likely have been set in the sidebar for the individual embedded document. It appears that the height has been set to 2000px whereas the individual pages are only around 700 px resulting in that big grey area below each. I would recommend that any custom heights be removed to allow the plugin to calculate the correct dimensions automatically.
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] Some pages not displayingHi @lalaloveyou,
I wasn’t able to view the PDF directly on your site because you are experiencing a caching issue via your CDN. To resolve that, please see: https://wp-pdf.com/kb/using-caching-or-minifying-plugins/
I downloaded a copy of your document for testing purposes with the PDF Embedder. The issue appears to be due to the images embedded on the pages themselves causing a delay on loading. Additional “layers”, such as images, within the original document should be flattened when the final export of the document to the PDF is done. Additional layers can result in partial, delayed, or even missing content entirely.
Forum: Plugins
In reply to: [PDF Embedder] PDF is not loaded properly to full widthHi @shaharm,
I do not have direct knowledge of this; however, it does look from the Elementor documentation that adding JS is a common thing. I would recommend reaching out to the Elementor support to inquire where JS snippets should be added to target the specific widgets you are using.
Forum: Plugins
In reply to: [PDF Embedder] PDF viewer not loading on lesson page is Tutor LMSHi @cocis91,
If you have to interact with the element on the page to view the content, such as tabbed sections, accordions, popups, etc. then this will be powered with AJAX.
The snippet will need to be placed within the code that creates the tabbed/accordion/popup element. I would recommend reaching out to LearnDash’s support as they would know exactly where in their code the element is called and be able to modify it to insert additional scripts.
Forum: Plugins
In reply to: [PDF Embedder] bigger toolbarYou would need to adjust the toolbar and its elements using some CSS. You can use the browser’s Developer Tools > Inspect Elements to identify all the elements you wish to adjust. For example, this is the default value for the toolbar:
/* PDFEMB TOOLBAR HEIGHT */ .pdfemb-toolbar { height: 30px; }There is a more complete FAQ on styling the viewer and elements here: https://wp-pdf.com/kb/hiding-the-embedders-border-or-changing-colorstyles/`
Forum: Plugins
In reply to: [PDF Embedder] PDF is not loaded properly to full widthHi @shaharm,
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 “resize” event. The following has worked very well in similar situations:
<script> jQuery('div.tab-title').on('click',function() { setTimeout( function() { window.dispatchEvent(new Event('resize')); }, 100 ); }); </script>This is something that would need to be added to the code to be called after the AJAX element has been called. You may require assistance from the theme developer if you are not comfortable coding for yourself.
- This reply was modified 4 years, 6 months ago by PDFG Support. Reason: missing info
Forum: Reviews
In reply to: [PDF Embedder] Latest version is broken (multiple versions)Hi @jcreem,
I’m sorry to hear that you are having issues with the documents rendering correctly with the latest version of the plugin. Can you please send us an email to contact@wp-pdf.com with a link to a page/post where you are experiencing this issue so we can investigate.
Forum: Plugins
In reply to: [PDF Embedder] PDF viewer not loading on lesson page is Tutor LMSHi @cocis91,
Is the lesson page rendered using AJAX? If so, you will need to have the PDF Embedder scripts initiated just after that AJAX element is called. 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/.
When using the PDF Embedder Secure, you can still allow downloading of individual documents by using the shortcode attribute download=”on”. You will need to enter the shortcode manually or use the Classic Editor block instead of the PDF Embedder block in order to have the shortcode output in an editable form. Then added the attribute for the download. Please see https://wp-pdf.com/premium-instructions/shortcodes/
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 and our paid support is available via email.
Forum: Plugins
In reply to: [PDF Embedder] Remove Purple Block for Moblie deviceHi @varnothing,
You can eliminate that full screen overlay by adjusting the trigger width for mobile devices within the plugin settings. You can also modify that button with CSS to match your theme should you wish to keep the button available to mobile users (easier to interact with than the button in the toolbar). Please see our documentation for both methods: https://wp-pdf.com/kb/i-see-the-view-in-full-screen-overlay-when-i-dont-want-it/
Forum: Plugins
In reply to: [PDF Embedder] PDF is not shown just a link within LearnDashReplied in email but in case someone else encounters this issue:
The limitation is when there is an AJAX element on the page, it only loads the content within once it has been interacted with by the visitor. Normally, the PDF Embedder viewer is loaded when the page content is loaded. If there is an AJAX element in place, the viewer can not be initiated because the AJAX element is in the way of the content (i.e. the viewer shortcode which initiates the PDF scripts). Once the AJAX element has been interacted with by the visitor, the scripts to create the viewer must then be called by that AJAX element. We have no way to bypassing those elements from our code.