[WordPress] 外掛分享: All in One Gallery

首頁外掛目錄 › All in One Gallery
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
尚無評分
5802 天前
最後更新
問題解決
WordPress 2.6+ v2.1 上架:2008-12-01

內容簡介

使用 短碼在您的 WordPress 網站上顯示和瀏覽所有圖像。

我想在一個地方顯示和瀏覽網站上已上傳的所有圖片,而不必自己創建圖庫邏輯。因此,該外掛僅查看所有類別和頁面,然後檢查所有類別的文章(或頁面)中是否有圖像,如果有,就使用 短碼來顯示圖像。

外掛使用原始的 WordPress 圖庫標記,因此應與所有佈景主題相容並可適合搭配使用。每個佈景主題通常都會在頁面或文章中使用圖庫短碼樣式呈現此功能。

有一個「排除圖像」功能,可讓您選擇應在圖庫頁面中顯示的圖像。但由於 WordPress 2.9.1 中的一個錯誤,導致包含/排除功能被禁用。這很遺憾,因為此功能非常酷且易於使用。也許在 2.9.2 中會解決。

All-in-One-Gallery 外掛與新的 短碼一起使用,因此僅適用於舊於 2.5 版本的 WordPress。此外,我為 Anna Chocola 和自己創建了此外掛,您可以在 我的網站 上點擊側欄的「Image Gallery」,或者在 Anna Chocola 的網站上 也可以點擊「Image Gallery」。

我將它與其他 2 個外掛一起使用:cleaner-gallery 可以清理 WordPress 圖庫 XHTML,使用方式完全相同,但 XHTML 更清晰。以及light-box-2 可以實現 Lightbox 的效果/系統。但不一定需要。

非常感謝 Karl Rixon,他是 PHP Oracle,提供了分頁功能,並教授了我 PHP。

功能:

分頁和每頁帖子數量
與您的佈景主題相容,因為它使用的是您在頁面或文章中使用的相同圖庫。
圖庫菜單有五種樣式(藍色、綠色、灰色、粉色)以及一個「無樣式」選項,讓您自己管理。
排除沒有圖像的類別的可能性。
歡迎消息或預設類別。
實現 WordPress 圖庫的所有功能(如每行圖像數或順序)。
使用簡單易設置。作者、編輯和管理員均可以更新圖庫選項。

從 1.0 更新到 2.1 前請注意:如已修改了佈景主題文件夾中的樣式表的任一樣式,請複製該樣式表;如果修改了歡迎消息,請複製該消息。即使只是更新,該外掛在代碼中的所有名稱都已更新為更快速,這意味著對於您的網站而言,它看起來像是一個新的外掛。

To Do

更多選項:指向帖子的縮略圖連結的開啟/關閉
不要在更新時覆蓋使用者 CSS 樣式。
添加所有 選項:orderby、captiontag、itemtag、icontag、link

查看在線範例

這裡有一個連結到 Anna Chocola 的 All in one Gallery,以及一個連結到我的網站上的圖庫。
標題是可選的,當然。

外掛標籤

開發者團隊

⬇ 下載最新版 (v2.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「All in One Gallery」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Display and browse all the images on your wordpress website in one place using the shortcode.
I wanted to have all the pictures that have been uploaded on my website to be displayed and browsable in one place, without having to create my own gallery logic. So the plugin is simply looking at all the categories and pages, then check if there are images in all the category’s posts (or pages) and, if there are, use the [ gallery ] shortcode to display the images.
The plugin should work and fit with every themes as it’s using the original wordpress gallery markup. Every themes normally have style this feature as you use the gallery shortcode in pages or posts.
There is a ‘exclude images’ features that let you select images that should be display in the Gallery page. But do to a wordpress bug in 2.9.1 with the include/exclude feature, this feature as been disable. It’s shame as the feature is pretty cool and easy to use. Maybe with the 2.9.2.
All-in-One-Gallery plugin work with the new [ gallery ] shortcode and therefor will only work with wordpress version older then 2.5. Also, I created this plugin for Anna Chocola and myself, you can try it on my website by clicking Image Gallery in the sidebar or on Anna Chocola’s website by also clicking on Image Gallery in the sidebar.
I use it with 2 other plugins: cleaner-gallery that is just a plugin that clean the wordpress gallery XHTML, works exactly the same way but with cleaner XHTML. And light-box-2 that does the lightbox effect/system. But you don’t have to.
A massive thanks to Karl Rixon aka the php Oracle for the pagination function and teaching me php.
FEATURES:

Pagination and number of posts per page
Fit into your theme as it’s using the same gallery that you use in pages or posts.
Five style for the gallery menu (blue, green, grey, pink) plus a ‘no style’ to let you manage it yourself.
Possibility to exlude categories without images.
Welcome message or default category.
Implement all features of the wordpress gallery (like number of images per row or order).
Easy to use and set. Author, Editor and Admin can update the gallery options.

WARNING BEFORE UPDATING FROM 1.0 TO 2.1: MAKE A COPY OF YOUR STYLE SHEET IF YOU CREATED A MODIFICATION OF ONE OF THE STYLE FROM THE THEME FOLDER AND MAKE A COPY OF YOUR WELCOME MESSAGE IF YOU MODIFIED IT. The plugin has been updated on all names in the code to be more efficient, but that mean it looks like a new plugin for your site even if it’s just a update
To Do

More options: -link to the post with the thumb on/off
Don’t overwrite user css style on update.
Add all options: orderby, captiontag, itemtag, icontag, link

View online examples
Here’s a link to Anna Chocola’s All in one Gallery and one to the gallery on my website.
Titles are optional, naturally.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon