跳到内容

Custom Post Type Attachment

v3.4.6

aviplugins.com · 2014年2月24日 上架

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

正在使用
700+
评分
5.0 / 5
累计下载
9.6 万
最近更新
2024年12月31日
3 条评价需要 WordPress 2.0.2+已测试到 6.7.12

贡献者

截图

Frontend view
Frontend view
Settings page view
Settings page view
Post edit page view
Post edit page view
Shortcode view
Shortcode view
Latest attachments widget
Latest attachments widget
Widget settings
Widget settings
  • This plugin will allow you to upload files to your post or pages or any other custom post types.
  • You can eather use shortcodes or functions to display attachments.
  • just install the plugin and update setting from Settings-> Custom Post Type Attachment.
  • Upload files in your post/page edit page.
  • Display files in frontend using shortcodes or using custom functions.

Usage

  • 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

  • Attachment number can be Increased / Decreased from the post edit page. 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.
  • Users can be asked to enter basic details like Name, Email & Phone Number before they can download the Attachments.
  • Files Attachment option can be enabled in the WordPress default comments section as well.
  • 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 https://www.aviplugins.com/support.php

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums