Plugin / RS 525icons

Rune Stromsted - @runestro

Description

Description

The 525icons css-file and font files are hosted at jsDelivr CDN, so this plugin is fast and lightweight.
Find the names of your desired icons at https://525icons.com/glyphs.html.
There you may click on any icon to copy its name to the clipboard. The ‘ico-‘ prefix is omitted, as you need only the name for the shortcode.

  • Shortcode syntax: [ico iname=?]
  • Notice! Write ‘twitter’ if you want ‘ico-twitter’.
  • eg.: [ico iname=’twitter’] or [ico iname=twitter]

Generated HTML will be:

<i class='ux ico-twitter'></i>

which is the code needed to show the icon on the page.

You may include following optional parameters, which will add inline styles to the HTML code:

[ico isize=? iborder=? ibordercol=? iradius=? ipadding=? imargin=? icolor=? ibg=? ivalign=?]

  1. isize = font-size (you must add: px, em, rem, pt, %, x-large, large, small etc.)
  2. iborder = border-size (specified as px, write number only)
  3. ibordercol = border-color (#HEX, RGB, RGBA, standard web color name, etc.)
  4. iradius = border-radius (specified as px, write number only)
  5. ipadding = padding (specified as px, write number only)
  6. imargin = margin (specified as px, write number only)
  7. icolor = color (#HEX, RGB, RGBA, standard web color name, etc.)
  8. ibg = background-color (#HEX, RGB, RGBA, standard web color name, etc.)
  9. ivalign = vertical-align (specified as %, write number only)

Default values for all selectors are ’empty’, except: border-radius=’0′ and: border-color=’black’.

(The shortcode [ico] alone will generate a default icon, which is set to the ‘ico-wordpress’. The default size is inherited from the page css.)

Advanced options:

In addition to the main css file, ‘525icons.min.css’, the plugin utilizes the file ‘css/styles.css’,
where there is a set of classes with standard HTML color names, plus some size classes.
The class ‘ispin’, makes the icon spin infinitely, usable for spin and refresh icons.

About classes and inline styles:

This shortcode:
[ico iname=twitter icolor=darkblue isize=24px]

will generate inline styles like:

<i class='ux ico-twitter' style='font-size:24px;color:darkblue'></i>

while this shortcode:
[ico iname=’twitter darkblue xl’]

will generate following HTML-code, calling up classnames in the css files:

<i class='ux ico-twitter darkblue xl'></i>

If you use additional classes, you must add them after ‘iname’ (and they must be inside the iname apostrophes – with space between them).
For example, if you want an arrow pointing upwards, use ‘rotate90’:

[ico iname=’circle-arrow rotate90′]

The rotate classes are useful for arrows and mediaplayer icons. Check out: https://525icons.com/examples.html

Take a look at ‘css/styles.css’ and https://525icons.com/fonts/525icons.css, for more styling options.

Here are some of the available style classes:

Size classes:

  • .lg (font-size: 1.33333333em)
  • .xl (font-size: 24px)
  • .i2x (font-size: 32px)
  • .i3x (font-size: 48px)
  • .i4x (font-size: 64px)
  • .i5x (font-size: 80px)
  • .i6x (font-size: 96px)
  • .i7x (font-size: 112px)
  • .i8x (font-size: 128px)
  • .i9x (font-size: 144px)
  • .i10x (font-size: 160px)

Border radius (set as px):

  • .radius6
  • .radius8
  • .radius12
  • .radius36

Rotate classes:

  • .rotate45
  • .rotate90
  • .rotate135
  • .rotate180
  • .rotate225
  • .rotate270
  • .rotate315

You may choose to write HTML code instead of shortcodes, like this:

<i class="ux ico-twitter i2x blue"></i>

Ratings

0
0 reviews

Rating breakdown

Details Information

Version

2.1

First Released

14 Dec, 2016

Total Downloads

815

Wordpress Version

3.8 or higher

Tested up to:

5.0.7

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.