Plugin / Add Ribbon Shortcode

Sherwin Calims

Installation

Installation

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

  1. BACKUP everything before you install the plugin.
  2. Upload add-ribbon directory to the ‘/wp-content/plugins/’ directory
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

Adding Ribbon using Shortcode

  1. Shortcode for Sherk Add Ribbon is in the format of
    [ribbon id=”myribbon” padding=”10″ height=”100″ width=”100″ color=”#000″ bgcolor=”#FFF” label=”Featured” position=”right”]
    This is a sample content
    [/ribbon]
  2. Copy the shortcode, paste it to the content text editor and update the values of your shortcode parameters depends on what you need.

Setting Ribbon for Image Content

  1. This is a way on adding ribbon using image as your content instead of text.
  2. Set your padding into 0
  3. Set your ribbon width and height to the width and height of your image.
  4. Give the image a class value of ‘imgribbon’
    Ex.
    [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″ />
    [/ribbon]

Parameters Available

id
Id of your ribbon, used in customizing ribbon styles
default: ”
option: string

label
Text label for your ribbon
default: ‘Label’
option: string

wider
Wider ribbon
default: ‘false’
option: boolean

position
Position of the label of your ribbon
default: ‘left’
option: left
right

padding
Padding of your ribbon
default: ’10’
option: integer

width
Width of your ribbon
default: ‘200’
option: integer

height
Height of your ribbon
default: ‘200’
option: integer

color
Color of your text label
default: ‘#FFF’
option: Hex Color

bgcolor
Background color of your text label
default: ‘#000’
option: Hex Color

Ratings

0
0 reviews

Rating breakdown

Details Information

Version

1.0.1

First Released

05 Jul, 2015

Total Downloads

1,293

Wordpress Version

3.0.1 or higher

Tested up to:

4.2.25

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.