Plugin Directory

Test out the new Plugin Directory and let us know what you think.

Custom Post Type Attachment ( PDF )

This plugin will allow you to upload pdf files to your post or pages or any other custom post types.

  • This plugin will allow you to upload pdf files to your post or pages or any other custom post types.
  • You can eather use shortcodes or functions to display attachments.
  • At most 10 PDF files can be uploaded to each post.
  • just install the plugin and update setting from Settings-> Custom Pdf Attachment.
  • Upload files in your post/page edit page.
  • Display files in frontend using shortcodes or using custom functions.


  • Display all attachments with a single shortcode [pdf_all_attachments]
  • Display Single attachment [pdf_attachment file="file_number" name="optional file_name"]
  • Example: [pdf_attachment file="1" name="PDF File 1"]
  • Or
  • pdf_attachment_file("file_number","optional file_name");
  • Example: <?php echo pdf_attachment_file("1","PDF File 1"); ?>

Custom Post Type Attachment PRO

There is a PRO version of this plugin that supports unlimited files to upload with multiple file types. You can get it here in USD 1.50

  • Unlimited number of files can be uploaded. You can upload other type of files also. Supported files that can be uploaded are PDF, TXT, JPG, JPEG, BMP, GIF, PNG, DOC, DOCX, XLS, CSV, PPT, PPTX, ZIP.
  • Every file can be marked as Hidden. These files will be hidden from visitors of the site. Only Logged In users will be able to download these files. For others a message will be displayed in place of the hidden files. This message can be updated from admin panel.
  • You can select the user types that you want to give Permission to be able download the attachment files. Only selected user types will have permission to download the attachments.
  • More Advanced File Download feature.
  • Files can be embedded in the page content. Users can view the content of the file before download.
  • Supported document files that can be embedded are Adobe Acrobat (PDF), Microsoft Word (DOC), Microsoft PowerPoint (PPT), Microsoft Excel (XLS) Click here to find out in details

Post your plugin related queries at http://aviplugins.com/support.php

Requires: 2.0.2 or higher
Compatible up to: 4.5.6
Last Updated: 2 months ago
Active Installs: 3,000+


5 out of 5 stars


0 of 1 support threads in the last two months have been marked resolved.

Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.