[WordPress] 外掛分享: Custom Frames

首頁外掛目錄 › Custom Frames
WordPress 外掛 Custom Frames 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
40+
安裝啟用
尚無評分
3396 天前
最後更新
問題解決
WordPress 4.5.4+ v1.0.1 上架:2017-01-12

內容簡介

Custom Frames 可以讓您輕鬆創建圖片框架,而不需要寫任何程式碼。您可以使用簡碼 [customframe] 將框架添加到圖片中。

特色

邊框設置頁面,控制框架邊框
陰影設置頁面,控制框架陰影
標題設置頁面,控制標題如何與框架交互
易於使用的簡碼,將框架放置在圖片周圍

簡碼

Custom Frames 使用簡碼 [customframe] 來指定要應用框架的圖片。

以下簡碼接受5個屬性。
[customframe src=”” height=”” width=”” caption=”” class=””]

src 屬性是必需的,應該是圖片的url。
height 屬性是可選的,用於定義圖片的高度。默認值為300。
width 屬性是可選的,用於定義圖片的寬度。默認值為450。
caption 屬性是可選的,用於向圖片添加標題。
class 屬性是可選的,用於將CSS類添加到圖片框架。

外掛標籤

開發者團隊

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

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

原文外掛簡介

Custom Frames allows you to easily create a picture frame without having to write any code. You can add the frame to pictures by using the shortcode [customframe].
Features

Border settings page to control the frames border
Shadow settings page to control the frames shadow
Caption settings page to how a caption would interact with the frame
Easy to use shortcode to place the frame around a picture

Shortcode
Custom Frames uses the shortcode [customframe] in order to specify which picture to apply the frame to.
The following shortcode accepts 5 attributes.
[customframe src=”” height=”” width=”” caption=”” class=””]
The src attribute is required and should be the url to the picture.
The height attribute is optional and is used to define the height of the picture. The default value is 300.
The width attribute is optional and is used to define the width of the picture. The default value is 450.
The caption attribue is optional and is used to add a caption to the picture.
The class attribue is optional and is used to add a css class to the picture frame.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon