PDFG Support
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Embedder] RedirectingHi @iacaro,
Email sent for login request. We can continue the conversation via email since this is a support inquiry on the paid version of the plugin.
Emma
Forum: Plugins
In reply to: [PDF Embedder] RedirectingHi @iacaro,
It sounds like you are linking directly to the PDF file which would result in the redirect to the home page. This is the correct behaviour for the Secure version of the plugin (either redirect or 403 Forbidden depending on your site config).
If you want to use a link to the document instead of embedding it directly, you need to link to the PDF’s attachment page instead because direct access to the document file is forbid by any means other that the embedded viewer.
Please see our FAQ on attachment pages and the Secure version of the plugin as well as linking to attachment pages:
- Secure attachment pages: https://wp-pdf.com/kb/auto-generate-a-wordpress-page-to-embed-the-pdf/
- The example here uses thumbnail images but the same process applies for text links: https://wp-pdf.com/kb/how-best-to-add-multiple-pdfs-to-a-single-page-or-post/
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.
Emma
Forum: Plugins
In reply to: [PDF Embedder] Failed to Fetch the errorHi @othman3265414,
When using a CDN, you need to set up a Cross Origin Resource Sharing configuration to permit the browser to access the documents from a different source. It looks like you might be using GoDaddy for your host—the cause of the issue is that GoDaddy will try to redirect the document loading through secureservercdn.net which will result in a “No Access-Control-Allow-Origin header” error (you should be able to see this in the browser’s Developer Tools > Console tab). The first step would be to set up a CORS rule for the CDN. The following documentation has the required information needed to permit access for the document to be loaded from a CDN: https://wp-pdf.com/kb/hosting-pdfs-on-other-services-such-as-amazon-s3/.
Once you have the CORS set up correctly, this should resolve the Failed to Fetch error depending on how the CDN for your account is set up. If not, you should next have GoDaddy support create a Post Processing rule to stop anything going to .pdf to remain with the domain and URI path.
Here is and example of the rule that has been added successfully on a WPEngine site (the same situation as you are seeing—I don’t have an example of GoDaddy’s rule unfortunately) to rectify the issue:
#https?://sitenamecdn-wpengine\.netdna-ssl\.com/(.*)\.pdf# => https://sitename.com/$1.pdf<https://sitename.com/$1.pdf>;;This procedure has worked successfully for other users hosting with CDNs.
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.
Emma
Forum: Plugins
In reply to: [PDF Embedder] embed not working properly with twenty nineteen themeHi @tuf08694,
The Twenty Nineteen uses a different manner for calculating responsive dimensions which trips up the embedded viewer width calculation. The following tiny bit of CSS fixes this. You can add this to the Appearance > Customize > Additional CSS field:
/* FIX 2019 WIDTH CALCULATION */ .entry .entry-content > .pdfemb-viewer { max-width: 100%; }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.
Emma
Forum: Reviews
In reply to: [PDF Embedder] Very Nice PluginForum: Plugins
In reply to: [PDF Embedder] external pdf url ?Hi @wasanajones,
It is possible to embed a PDF from another site with one caveat. Browsers have build in security protocols to prevent retrieving content across domains. This is to prevent malicious activity. If you are using a Content Delivery Network such as Amazon S3 or Dropbox that you own, you can set up the correct permissions to permit the cross-origin resource sharing (CORS). I have a couple of links to help you out:
- Amazon S3 https://wp-pdf.com/kb/hosting-pdfs-on-other-services-such-as-amazon-s3/,
- Dropbox https://wp-pdf.com/kb/serving-pdfs-from-dropbox/,
- Google Docs https://cloud.google.com/storage/docs/cross-origin,
- OneDrive https://docs.microsoft.com/en-us/onedrive/developer/rest-api/concepts/working-with-cors,
- Azure https://docs.microsoft.com/en-us/rest/api/storageservices/cross-origin-resource-sharing–cors–support-for-the-azure-storage-services
If you are trying to share from a site that isn’t yours, you may still be able to do so. Sites built to distribute information to the public (i.e. government, education, travel, etc.) are often set with CORS configurations to enable the distribution of the content. However, private businesses or individuals may not wish to share their content or do not know how to permit this. The only option in this instance would be to reach out to the content owner to gain permission and/or the means to do so.
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.
Emma
Forum: Reviews
In reply to: [PDF Embedder] Great plugin, great supportWe’re glad to hear that the PDF Embedder plugin provided an easy solution for you.
Thank you for your review and all the best with your site!
Emma
Forum: Plugins
In reply to: [PDF Embedder] PDF Embeder does not work on knowledge base pluginHi @rogerhoang,
If the PDF is showing as a link instead of the embedded viewer, this is usually the result of a conflict with another plugin that is preventing the PDF scripts from loading. To confirm the conflict, you can follow the troubleshooting guide here: https://wp-pdf.com/kb/pdf-doesnt-appear-at-all-just-a-blank-line-or-hangs-on-loading/.
You may need to call the PDF Embedder scripts inside of the Knowledge Base element once that element has been loaded on the page. In which case, 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/
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.
Emma
Forum: Plugins
In reply to: [PDF Embedder] Multi-Page .PDFsHi @adminnetwork,
I took at your link (thanks for that) and am seeing 3 pages in the viewer. I’m not seeing any errors in the console tab of the browser and the scripts are being loaded correctly. I tested this with Win 10 and Chrome, Firefox, and Edge/IE11.
Are you still seeing the issue? If so, can you please send an email to contact@wp-pdf.com with your browser and operating system so we can test further.
Emma
Forum: Plugins
In reply to: [PDF Embedder] Conflict with OceanWP Product Quick ViewHi @nickschmitt,
It looks like you may have disabled the PDF Embedder but based on your code, you need to be calling the file URL of the PDF instead. There is an example of how to load the embedded PDF into ACF in their forums (https://support.advancedcustomfields.com/forums/topic/how-to-embed-pdf-on-page/) that should be helpful to you.
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.
Emma
Forum: Plugins
In reply to: [PDF Embedder] What Happened to this Plugin?Hi everyone,
Just an final update. The plugin has been reinstated by WP.org after the code was submitted for review.
Thank you for your patience in this matter.
Emma
Forum: Plugins
In reply to: [PDF Embedder] What Happened to this Plugin?Hi everyone,
Just to let you know what is going on now that I have a few more details. The issue was due to the attribution link in the toolbar. There is no security risk involved despite the WordFence notification to the contrary.
The revisions have been sent to WP.org developers for review and hopefully the plugin will be reinstated very soon.
Emma
Forum: Plugins
In reply to: [PDF Embedder] What Happened to this Plugin?Hi @kukelstaart,
Yes, I will post an update here once I receive confirmation myself that it has been released again or there is any other update on the review status.
Emma
Forum: Plugins
In reply to: [PDF Embedder] after update to v4.3 can’t add pdf embedder to postsHi @ghubbs,
There appears to be a little code error in the Secure version of the plugin. We have pushed out an update to the Secure version (4.3.1) which rectifies this issue.
Emma
Forum: Plugins
In reply to: [PDF Embedder] What Happened to this Plugin?Hi @doctormicro and @gilou24,
The plugin was put under review by WP.org so it temporarily unavailable. I don’t have the details on how this occurred but have been notified by the WP-PDF developers that the required fix has been submitted and the plugin will be available once more after the WP.org review has been completed.
The issue does not have any effect on the functionality or security of the plugin.
The paid versions of the plugin will continue to be hosted and supported on our own site (https://wp-pdf.com).
Apologies for any inconvenience that this might have caused.
Emma