Questions tagged [pdf]

The Portable Document Format (PDF) is a file format used to present documents in a manner independent of application software, hardware, and operating systems.

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

Searching content in a PDF file

I would like to add the ability to search the content in pdf files by site visitors. I would like to make it easier for visitors to search so that they don't have to use the CTRL + F keyboard shortcut....
1
vote
1answer
10 views

Is It Possible to Upload Certain Attachment Files To A Remote Server

My Situation I'm developing a book-store WordPress website where you can purchase and download books in PDF format. I don't want to use the local space for file storage (the host provider offers ...
0
votes
0answers
22 views

Pdf not opening in full screen [closed]

I have upoaded a pdf file on a wordpress website via wp-admin > media library but it is not opening in full screen. It is opening something like this: Is there a fix that I can apply to make it ...
0
votes
0answers
16 views

Wordpress5.2.3: Better File Download Plugin validation issue

I am using Better File Download plugin for uploading a PDF file from the Admin panel. The issue is it allows all file type which listed in wp_get_mime_types() function. I want to give a validation ...
0
votes
1answer
20 views

Create template for just a print

I have custom post which prints some content in tabbed table, where only selected tab is visible. Now, if print is selected, I would like to print contents of all the tabs. The problem is, that some ...
0
votes
1answer
27 views

TCPDF only exports .pdf when user is administrator

Context I use TCPDF for PDF generation hooked to admin-post. The admin-post-action handling function retrieves an object from database according to query parameters, requires a template.php and ...
0
votes
0answers
52 views

Why embedded PDF documents sometimes failed to load on my website

My WordPress site Reload on every hour, and sometimes some of the PDF documents (random) don't load. All embedded PDF's are only one sided. Why is this happening? UPDATE: This happen only on Chrome ...
0
votes
0answers
10 views

PDF Viewer Origin is Different

PDFf POSTER or any other pdf viewer plugin is showing an error saying that the origin is different but the pdf files are hosted on the site itself. ERROR PAGE LINK
0
votes
1answer
39 views

Open Custom Post Type as PDF

I have a custom post type set up using CMB2. I have overriden the standard print template, so when a user wants to print the page it takes the CMB2 fields and organizes them into a specific layout ...
0
votes
0answers
21 views

How to link my plug-in to form parsing PDF plug-in?

I've developed a plug-in with specific (I'm mean non WordPress native) permission system, specific tables, specific tab system (each tab actually has a distinct form given that each has like hundreds ...
0
votes
0answers
19 views

Customized PDF Gift Cards in WooCommerce

I would like to offer gift cards in my WooCommerce shop. Ideally it should look like Amazon: Demo: Amazon Gift Voucher The user should have the possibility to choose a design and adjust it with ...
1
vote
2answers
217 views

How to do string attachment with wp_mail

I'm using a gift card plugin for my woocommerce shop and I would like to add a generated pdf file to allow customers to download the gift card as a pdf. The idea is to use TCpdf or Fpdf to generate ...
0
votes
1answer
158 views

How to upload PDF from Front-End and post automatically?

I have a medical client and they want to upload and post pdf automatically. So I stumbled upon frontend uploader, which allows users to upload and post an image to a blog post. It does however post ...
1
vote
1answer
148 views

SSL certificate verify failed

I have a gift voucher plugin for wordpress that creates a PDF after a user has finished filling in a form and sends it to the users email. This plugin uses the fpdf library to create the pdf. It ...
0
votes
1answer
431 views

Change meta data of pdf file

I've noticed recently that pdf files provided by client have got indexed with weird and random title tags when searched for in google (site:mysite.com/path-to-file.pdf). Now I've tried to change it ...
0
votes
1answer
72 views

How to create multiple pages for PDFs

In my wordpress site, I have multiple PDFs that I need to display in individual pages. I could just create a page for each PDF, but this seems very tedious. The pages will each be very similar, they ...
0
votes
1answer
163 views

How do i create a search option for pdf's only

I need help with a search page. We are a circuit court and use the latest version of WordPress for our website (flcourts18.org). We want the public to be able to search our administrative orders, ...
0
votes
0answers
1k views

Some data has already been output, can't send PDF file - fpdf issue in Wordpress

I encountered a problem with FPDF in wordpress. Actually, I am developing a wordpress plugin where need to generate pdf. As a php application its working fine. But when I converted it to wordpress ...
1
vote
1answer
304 views

How does the media library determine if a PDF file has preview images?

When PDF preview images are available, how does the Media Library determine that it needs to display them? Does it check for a '_wp_attachment_metadata' record in the postmeta table? And where in ...
1
vote
2answers
28 views

Client PDF Upload (Catalogue) - Automatically update link to PDF

I've built a custom WP theme. In the footer is a button to "download catalogue". The catalogue is a PDF created by the client which is periodically updated. I'm looking for some pointers on a good ...
1
vote
1answer
2k views

automatic PDF invoice with FPDF in PHP (creating Plugin)

I hope someone can help me. What I would like to achieve: I would like to create an automatic PDF invoice, as soon as an order has taken place and download it to a folder. It DOES NOT have to be ...
0
votes
2answers
656 views

Add Watermark to PDF's of logged in user in WordPress upon upload to media library [closed]

How can I add a watermark to my PDFs that are uploaded via the media library of the logged in WordPress User when viewing and printing the pdf. I have tried utilizing plugins but they are all limited ...
2
votes
1answer
678 views

PDF Image in content

Since 4.7, Wordpress generates images representing the first page of any PDF that is uploaded. https://make.wordpress.org/core/2016/11/15/enhanced-pdf-support-4-7/ This is useful when choosng what to ...
1
vote
2answers
677 views

Password Protecting Media

Is it possible to password protect a PDF for visitors to our website (not users)? We have uploaded a PDF to our media and created a link to it on a page, but we would like to password protect just ...
0
votes
1answer
351 views

How to change link of an uploaded file to the media library

My client wants a PDF to be linked from a page with a different link structure. Currently I have it set up so the path to the document is this site.com/wp-content/uploads/date/PDF.pdf What they ...
1
vote
1answer
125 views

How do you use WP slugs for PDF files / media?

I have hundreds of PDFs that are linked throughout my site, and these PDFs all have a unique document number and revisions. e.g. 902367 version I What I would like to do is have a defined slug for ...
0
votes
1answer
32 views

Add pdf to a website

I'm building a website containing a lot of pdf files, i added those files with add media button when creating a page, my question is when i open that page, does it mean in my navigator that i charged ...
1
vote
0answers
49 views

Find file url in post content and add it to media library

I'm using the Postie plugin to receive an email to create a post. In that email there will be link(s) to a pdf. I'm using wp_extract_urls and code from this post to try to add the pdf to the media ...
0
votes
2answers
992 views

How can I make an attachment page for pdf uploads?

I have an attachment page for post images, so that when I click on the thumbnail (on the front end) it takes the user to the attachment page for that image, how would I do the same for pdf files, so ...
0
votes
2answers
82 views

How do I fit a function inside an opening and closing do_shortcode

How do I fit a function inside an opening and closing shortcode. I have this function that displays the post's pdf attachment url $file= get_post_meta( $post->ID, 'teacher-resume-upload' ); if ( ...
0
votes
3answers
740 views

Post Title to link to a PDF

I want to link a Post Title to the PDF. I feel my solution is somewhere in wp_get_attachment_url() but I can't figure out how. Also, I'd like my pdf to be located in ../wp-content/uploads/year/month/...
0
votes
2answers
34 views

Using a .pdf file as a page in wordpress

I'd like to create a link on my wordpress site to a .pdf that I have already created. Ideally create mywebsite.com/filename.pdf or mywebsite.com/foldername/filename.pdf I do not need a link or a ...
1
vote
1answer
4k views

Attaching a pdf to Contact Form 7 e-mail via functions.php [closed]

I'm trying to attach pdf files to an e-mail manually and I did some research on the topic and found this code: add_action('wpcf7_before_send_mail','send_pdf'); function send_pdf( $cf7 ) { $id = ...
2
votes
1answer
132 views

Restrict PDF links

How can I restrict only the PDF files that I uploaded through FTP, I copied the link of each PDF file and created buttons in WooCommerce, I can Restrict the Page/Post but not the PDF. I want users to ...
0
votes
1answer
472 views

Private pdf files

I would like to give access some private pdf files to only logged in users. I have this in my htaccess: RewriteCond %{REQUEST_FILENAME} ^.*(pdf)$ RewriteCond %{HTTP_COOKIE} !^.*wordpress_logged_in.*$...
0
votes
1answer
92 views

Password protected uploaded PDF page

I created a custom post-type called "designs" for this case. So I want the client to go to his backend and click "Create new Design", this will open up the create page screen, now I want my client to ...
1
vote
0answers
472 views

PhantomJS with wordpress

I know it sounds basic but I'd really appreciate some help/guidence on how to use phantomjs on my wordpress project. I'm using Windows 8.1 and local host with xampp for now. I've downloaded phantomjs ...
1
vote
1answer
3k views

List and show uploaded pdf files dynamically

I want to show all the PDFs for a specific WordPress page. I exactly want that the PDF documents will upload from the admin panel and I want to show all the PDFs in a page in the front-end dynamically....
0
votes
1answer
960 views

Create Custom Post Type PDF File (Like Media) Then Add Searchable Custom Fields

I want to create a simple website that stores PDF for search. The PDFs do not need to be searchable themselves (I mean, that would work, but there are only three items on each file so using custom ...
0
votes
1answer
1k views

wp_mail issue with sending PDF

I have a problem with wp_mail and sending a PDF. The code below occasionally works and when it does, you can only see the message content within the iPhone, and not Yahoo or Gmail. function ...
0
votes
1answer
182 views

Build custom pdf from users choices

I would appreciate a bit of guidance on how we can achieve the following functionality on our Wordpress site: Users click a selection of topics on a checkbox list A custom pdf is created for them ...
3
votes
3answers
3k views

Where do the favicons for Media Files come from

I have uploaded some PDFs to the Media Library. I cannot find a way to set the browser favicon for the PDF media files. Where does WordPress get the favicon from? Is there anyway to control the PDF ...
1
vote
0answers
149 views

WordPress Codex or equivlent for Kindle use?

Is there a mobi/epub version of the Codex that I can use with an e-reader?
0
votes
1answer
261 views

Extensive search filtering and results->PDF in the front-end

Is it possible to implement the following, and if so, what is the best (or one of) the ways to do so: The setup: A custom post type 'listing' Custom taxonomies: 'artist', 'price', 'location', 'year',...
-1
votes
1answer
523 views

Open all PDF or docx link as iframe

I have posts in my WordPress as a link for pdf like this:- To show Doc place click here :- http://domain.com/2012-04/item-1335086631.pdf I need to convert this link to embed to show file in my site. ...
2
votes
1answer
883 views

how do i embed the pdf gallery in wordpress post

I want to show the epaper of newspaper. Is there a way that i can embed a gallery of pdf in post just like the gallery of images
0
votes
1answer
1k views

TCPDF get_post_meta outside the loop

I want to be able to export a html page to PDF. I downloaded TCPDF (mainly because it allows me save High resolution images and shrinks the filesize.) The TCPDF folder is in my theme folder. If a ...
0
votes
0answers
534 views

How to embed PDF files inside content without media_send_to_editor?

Goodafternoon, I use the following code to add an iframe around the PDF files that are added to a post in WordPress. The only problem with this feature is that the iframe will be also visible in the ...
0
votes
2answers
1k views

Permalink for PDF of article

I'm trying to learn if this is possible, and how I might go about implementing it. Our site is a scientific journal, and our published articles follow this permalink structure: http://ehponline.org/&...
0
votes
2answers
977 views

Embed PDF into wordpress

is there's a way to show a PDF file inside Post in wordpress ? i used tag but if someone have Internet Download Manager , Dialog will appear to Download the PDF file if visitor click cancel they ...