[WordPress] 外掛分享: WP Better Attachments

前言介紹

  • 這款 WordPress 外掛「WP Better Attachments」是 2013-04-07 上架。 目前已經下架不再更新,不建議安裝使用。
  • 目前有 2000 個安裝啟用數。
  • 上一次更新是 2015-07-18,距離現在已有 3577 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.5 以上版本才可以安裝。
  • 有 28 人給過評分。
  • 論壇上目前有 1 個提問,問題解答率 0%

外掛協作開發者

dholloran |

外掛標籤

file | page | post | image | attachment |

內容簡介

這款外掛讓你可以在文章編輯器中直接新增/編輯/附加/取消附加/刪除/排序WordPress文章附加的檔案。與WordPress無縫整合,使用預設的WordPress附件類型,完全控制不同附件圖像尺寸的裁剪編輯器,並且不需要進行任何設置就可以將WP Better Attachments添加到自訂文章類型中。

簡碼

有關可用設置的資訊,請點此。
[wpba-attachment-list]輸出附件列表。

函數

有關可用設置的資訊,請點此。
wpba_attachments_exist() 檢查文章是否有附件。
wpba_get_attachments() 檢索附件的陣列。
wpba_attachment_list()輸出附件列表。

在GitHub上查看更多信息,請點此

如果您有任何問題,請提交一個問題。

1.3.3

添加 wpba_attachments_exist() 检查文章是否有附件。
為附件列表添加了沒有附件消息。
修正了 wpba_get_attachments() 未正確檢索文章縮略圖影像的問題
添加了設置,以全局禁用前端文件、文章縮略圖和裁剪編輯器。
修正了與Wysija Newsletter Plugin的兼容性問題。
修復其他雜項問題和一般的清理。

1.3.4

修正啟用錯誤。

1.3.5

為編輯器非啟動時的元框添加了替代樣式。
修正附件列表產生額外列表項的問題。
為附件列表中每個HTML元素添加了類和ID參數。

1.3.6

清理代碼,加入PHPDoc。
修正Firefox中無法選擇元框輸入的問題。
添加細微的設置。
在“Uploaded To”列中加入編輯模態、取消附加連結和重新附加連結的功能。
添加修改元框標題的能力。
修正裁剪編輯器未顯示正確圖像尺寸的問題。

1.3.7
1.3.8
1.3.9

新增了調查通知密鑰。
添加了文件類型過濾器。
從編譯的CSS中刪除Flexslider。
其他微調。

1.3.10

修正通知無法在子資料夾安裝中禁用的問題。

1.3.11

添加 use_caption_for_title 到 build_attachment_list。製作Mike Warwick的提議。
在元框底部添加了第二個添加附件的按鈕。製作Mike Warwick的提議。
修正了未定義的變數PHP警告。
更新了調查通知並添加了感謝消息。

1.3

此版本應該可以解決上一版本的問題並增加更多的設置控制。

1.3.4

修正啟用錯誤。

1.3.5

修正附件列表產生額外列表項的問題,為編輯器非啟動時的元框添加了替代樣式,並為附件列表中的每個HTML元素添加了類和ID參數。

1.3.6

添加細微的設置,修改元框標題,加入編輯模態、取消附加連結和重新附加連結的功能,修復其他錯誤。

原文外掛簡介

Allows you to add/edit/attach/un-attach/delete/sort the files attached to your WordPress posts all from the post editor. Integrates seamlessly with WordPress using the default WordPress attachments type, full control over cropping of the different attachment image sizes crop editor and no configuration needed to add WP Better Attachments to custom post types.
Shortcodes

Information on the settings available here
[wpba-attachment-list] Outputs a list of attachments

Functions

Information on the settings available here
wpba_attachments_exist() Checks for post attachments
wpba_get_attachments() Retrieves an array of attachments
wpba_attachment_list() Outputs a list of attachments

View more information on GitHub here
If you have any issues please submit an issue.
1.3.3

Added wpba_attachments_exist() to check if a post has attachments.
Added no attachments message for attachment list.
Fixed wpba_get_attachments() not retrieving post thumbnail images correctly.
Added settings to disable front end files, post thumbnails globally, and crop editor.
Fixed compatibility issue with Wysija Newsletter Plugin.
Fixed other miscellaneous issues and general clean up.

1.3.4

Fixed activation error

1.3.5

Added alternate styling of meta box when editor is not activated.
Fixed attachment list generating extra list items
Added class and id parameters for each HTML element in the attachment list

1.3.6

Code cleanup and PHPDoc
Fixed metabox inputs not selectable in Firefox
Added granular settings
Added edit modal, un-attach link and re-attach link to Uploaded To column
Added ability to edit metabox title
Fixed crop editor not showing correct image sizes

1.3.7
1.3.8
1.3.9

Adds survey notification key
Adds filters for types of files
Removes Flexslider from compiled CSS
Miscellaneous tweaks

1.3.10

Fixes an issue with notifications not able to disable on sub folder installs.

1.3.11

Added use_caption_for_title to build_attachment_list function/shortcode. Props Mike Warwick.
Added a second add attachments button to the bottom of meta box. Props Mike Warwick.
Fixed undefined variable PHP warning.
Updates the survey notification with thank you message.

1.3.3
Should resolve issues from last update and adds more settings control
1.3.4
Fixed activation error
1.3.5
Fixed attachment list generating extra list items, Added alternate styling of meta box when editor is not activated and class/id parameters for each HTML element in the attachment list function/shortcode.
1.3.6
Added granular settings; edit modal, un-attach link and re-attach link to Uploaded To column, miscellaneous bug fixes
1.3.7
1.3.8
1.3.9
Adds filters for adding file types, removes Flexslider from CSS and miscellaneous tweaks.
1.3.10
Fixes an issue with notifications not able to disable on sub folder installs.
1.3.11
Adds use_caption_for_title option to build_attachment_list, adds “Add Attachments” button to bottom of meta box, and misc. fixes/updates.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Better Attachments」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.0.1 | 1.1.0 | 1.2.0 | 1.2.1 | 1.2.2 | 1.3.0 | 1.3.1 | 1.3.2 | 1.3.3 | 1.3.4 | 1.3.5 | 1.3.6 | 1.3.7 | 1.3.9 | trunk | 1.3.10 | 1.3.11 |

延伸相關外掛(你可能也想知道)

  • PS Auto Sitemap 》PS Auto Sitemap 是一個 WordPress 外掛,自動從您的 WordPress 網站生成網站地圖頁面。, 對於初學者來說,安裝非常容易;對於專家來說,定制也非常容易。您...。
  • Post Type Switcher 》這個外掛在文章編輯介面中新增了一個簡單的文章型別下拉選單,讓你可以重新指派任何文章至新的文章型別。你可以在編輯文章時更換文章的型別。, 支援的型別, ...。
  • Post Duplicator 》這個外掛是用來製作選定文章的完全一模一樣複製。它支援自訂文章類型、自訂分類和自訂欄位。, *注意: 評論不會被複製到新文章。, 這個外掛的目的是為了快速且...。
  • Optimize Database after Deleting Revisions 》這個外掛是一個「一鍵式」WordPress資料庫清理/優化器。, 主要功能, , 刪除文章、頁面和/或自訂文章類型的修訂版本(您可以選擇保留最近的「X」個修訂版本,...。
  • Advanced Excerpt 》這個外掛可以改進 WordPress 原有的摘錄文章功能。, , 保留摘錄中的 HTML 標記,並可自選需要保留的標記, 按字元數或字數截斷摘錄, 只計算「真正的」文字(HT...。
  • Add From Server 》這個外掛提供有限的支援。請不要期望有太多新功能或修正 bug。功能可能隨時被移除。, Add From Server 外掛旨在幫助緩解不好的網站主機所造成的困擾,讓您可...。
  • Page and Post Clone 》這個外掛可以透過一個按鈕來複製貼文或頁面,現在您不必從零開始進行新頁面或貼文的樣式設計。, 這個外掛的主要功能包括:, , 建立一個頁面複本,保留所有內...。
  • WP Page Widget 》這款外掛讓小工具的選擇變得更加容易。啟用此外掛後,我們可以選擇要顯示在特定頁面/文章/自訂文章類型中的小工具。, 請注意,使用此外掛時必須啟用側邊欄主題。。
  • WP Total Hacks 》WP Total Hacks 可以在您的 WordPress 網站上自訂超過 20 個設置。, 此外掛已在 GitHub 上發布。, 一些功能:, 您可以選擇啟用或停用所有項目。, 需要 PHP5!...。
  • Revision Control 》**本外掛不提供支援。仍可使用,但請勿期待得到支援要求的回應或對「這無法運作」進行回應。**, Revision Control 是 WordPress 的一款外掛,可以讓使用者更...。
  • Reveal IDs 》WordPress 2.5版本發佈後,所有管理頁面的ID都被刪除了。這應該是因為普通用戶不需要它們。但對於高級WordPress用戶和開發人員來說,這些ID對某些外掛或模板...。
  • Bulk Delete 》Bulk Delete 是一個 WordPress 外掛,可以根據不同的條件和過濾器批次刪除文章、頁面、附件、使用者和元資料。此外掛支援以下條件和過濾器:, , 刪除文章, , ...。
  • WP Admin UI Customize 》, 儀表板, 顯示選項標籤, 輸出 - 元網站, 管理工具列 (Toolbar), 側邊選單 (Side menu), 元箱的管理, 登入畫面, 其他功能, , 這些自訂化都是可以實現的。, , ...。
  • Themify Portfolio Post 》Themify Portfolio Posts 是一個簡單的外掛,允許您展示乾淨版面的專案資訊。簡約而精美,您可以點擊您的圖庫專案的每張圖片,選擇顯示更多細節,例如專案類...。
  • Essential Content Types 》Essential Content Types 是一個 WordPress 外掛程式,讓您可以在您的網站上以不同的內容/文章類型展示出優秀的內容。這些內容/文章類型可能會被 WordPress ...。

文章
Filter
Apply Filters
Mastodon