该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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.

评价

此插件暂无评价。

贡献者及开发者

“Custom Frames” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Custom Frames”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

Version 1.0.0

*Initial release of Custom Frames