UPDATE: The plugin is now hosted on WordPress Repository and is available for download from there – the download button has been updated to link to the plugins new home – See sidebar.
[icon name=icon-cogs size=icon-10x align=pull-left color=icon-brown]I have released a new plugin for adding the Elusive Inconfont set to WordPress using shortcodes – the plugin is made Free and available for download over at GitHub.
It comes with a number of options selectable right within the Shortcode Generator Interface included and can be launched by clicking the Flag icon available on the page/post editor while writing new articles. See screenshot below.
- Selection of the icon type.
- Selection of icon size.
- Icon alignment – pull-left or pull-right.
- Icon color – select from a pre-set number of colors …More will be added in the future or maybe a color picker could be employed.
- Type – Currently only icon-border and icon-spin are available with icon-border needing a little more work.
The Generated shortcode will look something similar to:
[ icon name =icon-envelope size =icon-6x align =pull-left color= icon-brown ]
depending on your selection and without the spaces after and before the [ ] plus before the = sign.
Here are some examples….
[icon name=icon-facebook size=icon-3x color=icon-blue] [icon name=icon-twitter size=icon-3x color=icon-turquoise] [icon name=icon-pinterest size=icon-3x color=icon-red] [icon name=icon-googleplus size=icon-3x color=icon-maroon] Notice that these icons are clickable – This is achieved by highlighting the entire shortcode and then using the insert link chain on the editor and not via the plugin.
Above is a screenshot of the editor with the Flag icon for the plugin – Below is a screenshot of the Shortcode Generator which pops up when the flag icon is clicked. This is where you would make your selections and then insert the shortcode into your posts and pages. Shortcode can also be generated and copied to text widgets on any of the sidebars. If you use the Black Studio TinyMCE widget plugin as I do, you will find the flag icon there ready for use in your sidebars.
Currently, the plugin is available via [icon name=icon-github size=icon-large color=icon-green]GitHub but I’m working on having the stable version here on site and keeping the repository for production purposes. Also working on getting the plugin included in the WordPress Repository too.