[WordPress] 外掛分享: Related Images

首頁外掛目錄 › Related Images
WordPress 外掛 Related Images 的封面圖片
10+
安裝啟用
尚無評分
4230 天前
最後更新
問題解決
WordPress 3.5+ v2.0b2 上架:2011-03-16

內容簡介

這仍然是測試版

因此請勿在任何生產環境中使用。

使用案例

如果您在經營一本雜誌,需要在首頁上使用一張小而緊湊的圖片,並在文章頁面上使用不同的圖片,則 Related Images 可以解決這個問題,讓您將一張或多張圖片與文章不同位置關聯。

用法

在文章頁面上,您將看到一個框。在這裡,您可以點擊「打開媒體管理器」,然後選擇圖像。在媒體管理器中,您可以點擊「添加相關圖像」。在下拉式清單中選擇位置,然後保存文章。

要在網頁上顯示圖像,可以像這樣使用 get_image( 'startpage', 'size' );(在循環內部) ,其中添加位置和圖像尺寸。

哦:此外掛使用命名空間,需要至少 php 5.3。

外掛標籤

開發者團隊

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

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

原文外掛簡介

This is still in beta
So please dp not use in any production env.
Use case
You run a magazine, and you need a small tightly cropped image on the home page, and a different picture on the article page. Related Imges solves this and let you relate one or more images to different positions in a post.
Usage
On post pages you will get a box. Here you can press “Open the Media Manager” and then choose images. From the media manager you press “Add related images”. Choose positions in a select list, and save the post.
To display images on your pages use something like get_image( ‘startpage’, ‘size’ ); ?> (inside the loop) where you add the position and the images size.
Oh: This plugin use namespacing, and need at least php 5.3,

延伸相關外掛

文章
Filter
Apply Filters
Mastodon