這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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.

螢幕截圖

  • Shows the settings page for the border
  • Shows the settings page for the shadow
  • Shows the settings page for the caption
  • Shows the shortcode and its accepted attributes

安裝

  1. Upload the plugin files to the /wp-content/plugins directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Through the admin dashboard navigate to personalize/custom frames
  4. Once at the custom frames settings page create your desired picture frame
  5. Add the custom frame to a picture with the shortcode [customframe src=””]

常見問題

Where is the settings page for Custom Frames located?

The settings page for Custom Frames is under appearance/Custom Frames.

I created a frame, how do I apply it to a picture?

Custom Frames uses the shortcode [customframe src=””] to apply the frame to picture. See Other Notes or the readme.txt for more information on the shortcode and its accepted attributes.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Custom Frames” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Custom Frames 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

Version 1.0.0

*Initial release of Custom Frames