[WordPress] 外掛分享: Custom Post Type Attachment

首頁外掛目錄 › Custom Post Type Attachment
WordPress 外掛 Custom Post Type Attachment 的封面圖片
900+
安裝啟用
★★★★★
5/5 分(3 則評價)
441 天前
最後更新
問題解決
WordPress 2.0.2+ v3.4.6 上架:2014-02-23

內容簡介

這個外掛程式將允許您上傳檔案到您的文章或頁面或任何其他自訂文章類型中。
您可以使用短碼或函數來顯示附件。
只需安裝外掛程式並從 設置-> 自訂文章類型附件 更新設置即可。
在文章/頁面編輯頁面上傳檔案。
使用短碼或自訂函數在前端顯示檔案。

用法

使用單一短碼 [pdf_all_attachments] 顯示所有附件
使用 [pdf_attachment file=”file_number” name=”可選檔案名稱”] 短碼顯示單一附件
範例:[pdf_attachment file=”1″ name=”PDF檔案1″]
或者
pdf_attachment_file(“file_number”,”可選檔案名稱”);
範例:<?php echo pdf_attachment_file("1","PDF檔案1"); ?>

自訂文章類型附件 PRO

這個外掛程式的PRO版本支援無限的檔案上傳和多個檔案類型。您可以在此處以1.50美元的價格購買 點此。

可以從文章編輯頁面中增加/減少附件數量,您也可以上傳其他類型的檔案。支援的檔案類型包括PDF、TXT、JPG、JPEG、BMP、GIF、PNG、DOC、DOCX、XLS、CSV、PPT、PPTX和ZIP。
每個檔案都可以標記為隱藏。這些檔案將對網站訪問者隱藏。只有登錄的使用者才能下載這些檔案。對於其他人,將顯示一條訊息代替隱藏的檔案。這條訊息可以從管理面板進行更新。
您可以選擇您想要授予權限以下載附件檔案的使用者類型。僅選定的使用者類型將有權下載附件。
更進階的檔案下載功能。
使用者在下載附件前可以被要求輸入基本的詳細資料,例如姓名、電子郵件和電話號碼。
檔案附件選項也可以在WordPress默認的評論部分啟用。
檔案可以嵌入到頁面內容中。使用者可以在下載前查看檔案的內容。
支援的文件類型包括 Adobe Acrobat (PDF)、Microsoft Word (DOC)、Microsoft PowerPoint (PPT) 和 Microsoft Excel (XLS)。
點此了解詳情

若有關於外掛程式的問題,請在 https://www.aviplugins.com/support.php 發表您的發問。

外掛標籤

開發者團隊

⬇ 下載最新版 (v3.4.6) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Custom Post Type Attachment」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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:

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon