This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Add Ribbon Shortcode

Description

Adds ribbon with labels to your div containers or image using shortcodes. This is the implementation of CSS Portal ribbon generator. 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 me at http://sherkspear.com/contact

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

Detailed Instructions

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

Screenshots

  • Example on adding ribbon to a text container.
  • Example on adding ribbon to an image.

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

FAQ

You have questions?

Contact me through email at contact@sherkspear.com or at http://sherkspear.com/contact.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Add Ribbon Shortcode” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Add Ribbon Shortcode” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.