How to embed PDF files inside content without media_send_to_editor?
How to embed PDF files inside content without media_send_to_editor?
How to embed PDF files inside content without media_send_to_editor?
WP_Query is your answer for the first question, you will need to create a custom search form, and parse that data, in order to create your custom WP_Query. Here is a link with a tutorial to get you in the right direction. For the PDF part, I beleive it will be easier to tell the … Read more
If you are looking for an industrial strength solution, you might consider AppendPDF by Appligent (and/or other products from them). As a command line application, it is very easy to integrate and to run. Alternatively, there are several libraries (such as iText, pdflib, etc.) which could be used to create such customized documents. Ah, yeah, … Read more
Did you try creating a custom post type, and adding custom fields with Advanced Custom Fields? Advanced Custom Fields makes it easily to add custom fields to a post, and gives the possibility to hide other elements, like the content editor and featured image. In my opinion, you should create a custom post type, and … Read more
Try using the Advanced Custom Fields plugin: http://www.advancedcustomfields.com/ You can add a file(s) upload field to your “designs” post type, and hide the regular content editor. Then you can create a custom template for that post type that displays the files attached to the post.
If you are talking about menus and your theme uses the Menu API, then upload the PDF to a publicly accessible server– doesn’t have to to be the one your site uses– then go to Appearance -> Menus, Navigate to a menu, or create one find the “Links” dialogue, input the URL and the link … Read more
Some data has already been output, can’t send PDF file – fpdf issue in WordPress
Any media item (including PDFs) is just another type of post. So you need to create a search that will look inside the media folder for all PDFs. But that won’t help search inside the PDF, though. That’s a bit more complex, requiring the ability to ‘look inside’ the PDF file’s content. And a bit … Read more
If you really want to include them in a page, you could create a page template which pulls in the requested PDF by ID. So for example, you create the Page www.example.com/pdf/ and add a query string so when someone visits www.example.com/pdf/?id=234 they see the PDF which has a post ID of 234. Within the … Read more
I use Postie to allow non-technical users to post items via email, including pictures/media. Easy enough to set up; checks email every xx minutes (several choices). When an email is found, it converts that to a post. Works well, and is well-used. https://wordpress.org/plugins/postie/