[wordpress插件] Custom Frames自定义框架

wordpress 插件 文章 2020-04-08 08:40 608 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

'>

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].

您可以使用简码[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.

    “自定义框架”使用短码[customframe]来指定将该框架应用于哪个图片。

    The following shortcode accepts 5 attributes.

    以下短代码接受5个属性。

    [customframe src=”” height=”” width=”” caption=”” class=””]

    [customframe src =”” height =”” width =”” caption =“”” class =”””]

    The src attribute is required and should be the url to the picture.

    src属性是必需的,应该是图片的网址。

    The height attribute is optional and is used to define the height of the picture.

    height属性是可选的,用于定义图片的高度。

    The default value is 300.

    默认值为300。

    The width attribute is optional and is used to define the width of the picture.

    width属性是可选的,用于定义图片的宽度。

    The default value is 450.

    默认值为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.

    类属性是可选的,用于将CSS类添加到相框。

安装步骤

    1. Upload the plugin files to the /wp-content/plugins directory, or install the plugin through the WordPress plugins screen directly.
    2. 将插件文件上传到 / wp-content / plugins 目录,或直接通过WordPress插件屏幕安装插件。

    3. Activate the plugin through the ‘Plugins’ screen in WordPress
    4. 通过WordPress中的“插件”屏幕激活插件

    5. Through the admin dashboard navigate to personalize/custom frames
    6. 通过管理控制台导航到个性化/自定义框架

    7. Once at the custom frames settings page create your desired picture frame
    8. 在“自定义相框设置”页面上创建所需的相框

    9. Add the custom frame to a picture with the shortcode [customframe src=””]
    10. 使用短代码[customframe src =””]将自定义框架添加到图片中

下载地址
https://downloads.wordpress.org/plugin/custom-frames.1.0.1.zip
-EOF-

AI助手支持GPT4.0