[wordpress插件] Add Ribbon Shortcode添加功能区简码

wordpress 插件 文章 2020-01-31 03:00 716 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

Adds ribbon with labels to your div containers or image using shortcodes.

使用短代码将带有标签的功能区添加到div容器或图像中。

This is the implementation of CSS Portal ribbon generator.

这是CSS Portal功能区生成器的实现。

You can set the width , colors , backgrounds of ribbons you wanted to show.

您可以设置要显示的色带的宽度,颜色,背景。

You can email me directly for any plugin request or personal modification such as styles and templates at contact@sherkspear.com or

您可以直接通过电子邮件向我发送任何插件请求或个人修改信息,例如 contact@sherkspear.com

contact me at http://sherkspear.com/contact

请通过 http://sherkspear.com/contact 与我联系

Plugin URI: http://www.sherkspear.com/

插件URI: http://www.sherkspear.com/

Detailed Instructions

详细说明

After installation, check at Dashboard -> Tools -> Add Ribbon (/wp-admin/tools.php?page=add_ribbon_info)

安装后,在仪表板->工具->添加功能区上 (/ wp-admin / tools.php?page = add_ribbon_info)

for more detailed instructions.

有关更多详细说明。

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

    1. BACKUP everything before you install the plugin.
    2. 在安装插件之前备份所有内容。

    3. Upload add-ribbon directory to the ‘/wp-content/plugins/’ directory
    4. 将add-ribbon目录上传到“ / wp-content / plugins /”目录

    5. Activate the plugin through the ‘Plugins’ menu in WordPress
    6. 通过WordPress中的“插件”菜单激活插件

    Adding Ribbon using Shortcode

    使用简码添加功能区

      1. Shortcode for Sherk Add Ribbon is in the format of

      2. Sherk Add Ribbon的简码格式为

        [ribbon id=”myribbon” padding=”10″ height=”100″ width=”100″ color=”#000″ bgcolor=”#FFF” label=”Featured” position=”right”]

        [ribbon id =” myribbon” padding =” 10” height =“ 100” width =” 100” color =”#000” bgcolor =”#FFF” label =”精选” position =” right”]

        />

        />

        This is a sample content

        这是示例内容

        [ibbon]

      3. [/ ribbon]

      4. Copy the shortcode, paste it to the content text editor and update the values of your shortcode parameters depends on what you need.
      5. 复制简码,将其粘贴到内容文本编辑器中,然后根据需要更新简码参数的值。

      Setting Ribbon for Image Content

      设置图像内容的功能区

        1. This is a way on adding ribbon using image as your content instead of text.
        2. 这是使用图像而不是文本作为内容添加功能区的一种方法。

        3. Set your padding into 0
        4. 将填充设置为0

        5. Set your ribbon width and height to the width and height of your image.
        6. 将色带的宽度和高度设置为图像的宽度和高度。

        7. Give the image a class value of ‘imgribbon’

        8. 为图像赋予“ imgribbon”类值。

          Ex.

          例如

          [ribbon id=”sherkid” padding=”0″ width=”190″ height=”190″ bgcolor=”#CCC” color=”#233″ label=”Sample”]

          [ribbon id =” sherkid” padding =” 0” width =” 190” height =” 190” bgcolor =”#CCC” color =”#233” label =” Sample”]

          < img class=”imgribbon” src=”images/landscape.jpg” alt=”” width=”190″ height=”190″ />

          “”

          [ibbon]

        9. [/ ribbon]

        Parameters Available

        可用参数

        id

        id

        Id of your ribbon, used in customizing ribbon styles

        功能区的ID,用于自定义功能区样式

        default: ”

        默认值:“

        option: string

        选项:字符串

        label

        标签

        Text label for your ribbon

        丝带的文字标签

        default: ‘Label’

        默认值:“标签”

        option: string

        选项:字符串

        wider

        更宽

        Wider ribbon

        宽丝带

        default: ‘false’

        默认值:“ false”

        option: boolean

        选项:布尔值

        position

        位置

        Position of the label of your ribbon

        色带标签的位置

        default: ‘left’

        默认值:“ left”

        option: left

        选项:左

        right

        padding

        填充

        Padding of your ribbon

        丝带的装饰

        default: ’10’

        默认值:“ 10”

        option: integer

        选项:整数

        width

        宽度

        Width of your ribbon

        色带宽度

        default: ‘200’

        默认值:“ 200”

        option: integer

        选项:整数

        height

        高度

        Height of your ribbon

        丝带的高度

        default: ‘200’

        默认值:“ 200”

        option: integer

        选项:整数

        color

        颜色

        Color of your text label

        文字标签的颜色

        default: ‘#FFF’

        默认值:“#FFF”

        option: Hex Color

        选项:十六进制颜色

        bgcolor

        bgcolor

        Background color of your text label

        文字标签的背景色

        default: ‘#000’

        默认值:“#000”

        option: Hex Color

        选项:十六进制颜色

下载地址

https://downloads.wordpress.org/plugin/add-ribbon.zip

https://downloads.wordpress.org/plugin/add-ribbon.zip

-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] AffiliateImporterEb会员进口
[wordpress插件] WooCommerce BitTube payment gatewayWooCommerce BitTube支付网关
[wordpress插件] Advanced Custom Fields: Bidirectional Post Relation Field高级自定义字段:双向职位关系字段
[wordpress插件] AFFILIATE MLM / PARTY PLAN会员传销/聚会计划
[wordpress插件] Automizy Lead Generation自动产生潜在客户
随便看看
企业微信通讯录账号被管理员误/恶意删除,怎么办? 8229
问题? 7454
如何快速搭建抽奖助手小程序(无需代码知识) 5132
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 6088
小程序搜一搜全称搜索不显示 麻烦解决一下!谢谢 5698
我的小程序广告收款主体是个体工商户,每个月邮寄两次发票很是麻烦,我年底的时候打包邮寄一次可以么? 5282
如何解决渲染层网络错误Failed to load media? 16628
小程序找号找回 释放昵称? 2475
我的小程序广告主收入5301,实际进账4406,是怎么回事呀? 2552
删除部分微信用户个人数据的通知,怎么删除? 5603