[WordPress] 外掛分享: Tui’s Find Thumb

首頁外掛目錄 › Tui’s Find Thumb
全新外掛
安裝啟用
尚無評分
6277 天前
最後更新
問題解決
WordPress 2.0.2+ v1.02 上架:2009-01-10

內容簡介

許多 WordPress 主題都嚴重依賴「特色圖片」作為縮略圖,讓主題看起來更好。這很棒,但這會增加很多額外的工作,需要設置這些縮略圖參考,但同樣地,如果你趕時間而忘記添加縮略圖,主題的外觀就會被破壞。

這就是 Tui's Find Thumb 插件。它非常容易使用。它的目的是將您主題目前使用的圖像功能替換為更加靈活的功能。有了這些新功能,您可以從隨機選擇圖像、特定為該文章返回 URL 或 IMG 標記源等進行所有操作。

文章選項通過以下邏輯進行操作,直到得到結果

基於帖子元數據中設置的縮略圖 (通過特殊帖子字段) 返回IMG標記
文章中第一張圖片
從具有與文章第一個類別別名相同的名稱的目錄中(在您的基礎圖像目錄中) 隨機選擇一個圖像
從您的基礎圖像目錄中隨機選擇圖像

可用的功能

透過此插件可訪問 5 個功能。

1. tui_findRandomBackgroundSTYLE()

從背景圖像文件夾中返回一個隨機圖像 URL,如果存在,則為基礎圖像文件夾。

2, tui_findRandomThumbURL()

從基礎圖像文件夾返回一個隨機圖像 URL

3. tui_findRandomThumbIMG(“Height”,”Width”,”Class”,”Title”,”Alt”)

從基礎圖像文件夾返回一個隨機圖像IMG tag

4. tui_findPostThumbURL(“thepostID”)

返回一個 URL,基於帖子ID搜索

5. tui_findPostThumbIMG(“thepostID”,”Height”,”Width”,”Class”,”Title”,”Alt”)

包含 URL、高度、寬度、alt、title 和 class 的 IMG 標記,基於帖子ID搜索

支援

詳情請參閱插件主頁:http://www.stephenbaugh.com/blog/wordpress-plugins/find-thumb/

您也可以在此處查看項目:http://code.google.com/p/tui-find-thumb/

其他文檔:http://code.google.com/p/tui-find-thumb/w/list

問題和要求:http://code.google.com/p/tui-find-thumb/issues/list

開發版本:http://code.google.com/p/tui-find-thumb/source/

更改日誌:http://code.google.com/p/tui-find-thumb/wiki/Changelogs

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.02) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Tui’s Find Thumb」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Many WordPress themes, are heavily dependant on “feature images” to use as thumbnails to make them look good. This is great except it adds a lot of extra work setting up these thumb references, but equally if you are in a hurry and forget you add the thumb then the look of the theme breaks.
So here is Tui’s Find Thumb plugin. It is very easy to use. It’s purpose is to replace the Image function currently used in your theme with one that is lot more clever. With these new functions available you can do everything from a randomly select an image, or return a URL or IMG tag source specifically for that post.
The post option works through this logic until it gets a result

Returns an IMG tag based on the thumbnail set in the post meta data (through special post fields)
The first image in the post
A randomly chosen image from a directory (in your base images directory) with the same name as the posts first category slug.
A randomly chosen image from your base images directory

Functions available
There are 5 funtions that can be accessed through this plugin.
1. tui_findRandomBackgroundSTYLE()
Returns a random image URL from the background images folder if one exists else the base image folder.

2, tui_findRandomThumbURL()
Returns a random image URL from base image folder

3. tui_findRandomThumbIMG(“Height”,”Width”,”Class”,”Title”,”Alt”)
Returns a random image IMG Tage from base image folder

4. tui_findPostThumbURL(“thepostID”)
Returns a URL, having searched based on the postID

5. tui_findPostThumbIMG(“thepostID”,”Height”,”Width”,”Class”,”Title”,”Alt”)
Returns an IMG tag, containing the URL, height, width, alt, title and class, having searched based on the postID

Support

Support can be found on plugin homepage: http://www.stephenbaugh.com/blog/wordpress-plugins/find-thumb/
You can also view project here: http://code.google.com/p/tui-find-thumb/

Additional documentation: http://code.google.com/p/tui-find-thumb/w/list

Issues & requests: http://code.google.com/p/tui-find-thumb/issues/list

Development version: http://code.google.com/p/tui-find-thumb/source/

Change logs: http://code.google.com/p/tui-find-thumb/wiki/Changelogs

延伸相關外掛

文章
Filter
Mastodon