[WordPress] 外掛分享: Gallery Just Better

首頁外掛目錄 › Gallery Just Better
10+
安裝啟用
尚無評分
5597 天前
最後更新
問題解決
WordPress 2.5+ v0.3 上架:2011-01-30

內容簡介

這個外掛比 wp 原生相片庫更靈活,它終於允許非連結圖片和連結到外部 URL 的圖片。它還允許連結的圖像/頁面在新頁面中開啟。

使用方法

因為它是一個簡碼:

^ 從管理 wp 頁面->文章/頁面->新增或編輯,選擇 HTML 在文章中輸入 [galleryjb]
^ 接著新增一張或多張圖片到文章或定義 PostID(文章ID)屬性,例如 [galleryjb postid=123]
^ 沒有強制屬性:如果在目前的文章中有附件或在 PostID 中有附件,它將顯示附加的圖片作為圖庫。
^ 除可見於 wp 3.0.4 或 3.1 原生相片庫的所有選擇性屬性外,另有:
^^ link: 除了 wp 相片庫中已有的「file」(圖片連結到圖片檔案)和預設的空字串(圖片鏈接到附件的永久連結)外,還有「null」(圖片未可點擊/鏈接)和「url」(圖片與說明欄位中定義的外部 URL 相關聯)。
請注意,如果您選擇 link=”url”?,媒體庫的說明文字框中需要包含一個 URL(http(s)..等)而不是文字說明。然而,在 wp 原生相片庫中,說明在任何情況下都不會被使用。
^^ 目標:布林值。如果為 true,鏈接的物件將在新窗口中打開/如果為 false(預設值),則在同一窗口中打開
^^ 作者:true(預設)或false,決定是否顯示此外掛的作者頁腳(請回答是)。

範例

[galleryjb link=”null”?] ==>圖片不可點擊
[galleryjb target=”true”?] ==>圖片鏈接到附件的永久連結,並在新頁面中打開
[galleryjb link=”url”?target=”true”?] ==>圖片與說明欄位中定義的外部 URL 相關聯。這些 URL 將在新頁面中打開。
[galleryjb link=”url”?] ==>圖片鏈接到說明欄位中定義的外部 URL。它們將在同一頁面中打開(作為預設值)

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Gallery Just Better」→ 直接安裝(推薦)

原文外掛簡介

It’s a tiny bit more flexible than wp native gallery. It finally allows non-linked images and images linking to external URLs. It also allows linked images/pages opening in a new page.
Usage
As it is a shortcode:
^ From the admin wp page->Posts/Pages->Add New or Edit, select HTML in the entry form and enter [galleryjb]
^ Attach one or more images to the post or define a PostID attribute which has attachements i.e. [galleryjb postid=123]
^ There are no mandatory attributes: it will show the attached images as a gallery if attachments are present in the current post or in postid, if postid as attribute is defined.
^ Optional attributes are all those you can see in wp 3.0.4 or 3.1 of native gallery plus:
^^ link: besides “file” (= images are linked to imagefile) and the default null string (= images are linked to the attachment’s permalink) already present in wp gallery, there is now “null” (images are not clickable/linkable) and “url” (images are linked to external URLs defined in Description).
^^ target: boolean. if true linked objects open in a new/the same window, if false (default) in the same window
^^ author: true (default) or false whether you allow this plugin’s author footer to be displayed or not (please, say yes).
Examples

延伸相關外掛

文章
Filter
Mastodon