這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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: <?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

螢幕擷圖

  • Frontend view
  • Settings page view
  • Post edit page view
  • Shortcode view
  • Latest attachments widget
  • Widget settings

安裝方式

  1. Upload custom-pos-type-pdf-attachment.zip to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings-> Custom Pdf Attachment, and set some options. It’s really easy.
  4. Use shortcodes or functions to display uploaded files in frontend.

常見問題集

  1. Please email me at demoforafo.com. Post your queries here https://www.aviplugins.com/support.php

使用者評論

閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Custom Post Type Attachment〉的開發相關工作。

參與者

〈Custom Post Type Attachment〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Custom Post Type Attachment〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

3.4.5

  • Improvements.

3.4.4

  • Bug fix after version 3.4.3 update.

3.4.3

  • Now other type of files are also supported for uploading. File size can also be displayed beside file names.

3.4.2

  • Bug fixes and improvements.

3.4.1

  • Bug fixes.

3.4.0

  • Minor bug fixes.

3.3.9

  • Compatibility added for older versions of the plugin. Please deactivate and reactivate the plugin once after update.

3.3.8

  • Now files can be attached from the media library as well. This can be toggled from plugin settings if users don’t want the attachments to be in the media library.

3.3.7

  • Now attachments can be viewed from the listing page in admin panel. Widget added to display latest attachments.

3.3.6

  • Some design elements are updated.

3.3.5

  • Plugin code structure updated. Now the plugin will work much faster.

3.3.4

  • Plugin code updated.

3.3.3

  • Bug fixed.

3.3.2

  • PDF attachment functionality updated.

3.3.1

  • Bug fixed.

3.3.0

  • Plugin Dashboard look & feel updated.

3.2.4

  • Plugin code updated.

3.2.3

  • Plugin code updated.

3.2.2

  • Bug fixes.

3.2.1

  • Option to display all attachments with a single shortcode or function.

3.2.0

  • Plugin is now multilingual.

3.1.1

  • Code updated with some security modifications.

3.1.0

  • plugin code updated.

3.0.0

  • Code updated with some security modifications.

2.2.1

  • news dashboard widget optimized.

2.2.0

  • aviplugins.com news dashboard widget added.

2.1.5

  • Notice message bug fixed.

2.1.4

  • Notice message bug fixed.

2.1.3

  • admin menu related bug fixed.

2.1.2

  • bug fixed.

2.0.2

  • Delete Attachment functionality added.

2.0.1

  • Solved Pdf icon missing error.

1.0.1

  • This is the first release.