WordPress.org

Ready to get started?Download WordPress

Forums

Font Awesome More Icons
[resolved] shorcode options (2 posts)

  1. fatherb
    Member
    Posted 1 year ago #

    hi

    what shortcode options are available for this?

    can you add in the icon-2x, icon-stack etc. in to the shortcode as in this page:
    http://fortawesome.github.io/Font-Awesome/examples/

    thanks

    http://wordpress.org/plugins/font-awesome-more-icons/

  2. jr00ck
    Member
    Plugin Author

    Posted 1 year ago #

    You can add in any options into the shortcode "name" field that you would normally put into the "class" attribute in HTML. Or you can just do straight HTML instead of shortcodes, if you so prefer. But this works:
    [icon name="icon-paypal icon-2x"]

    Icon stacks don't work via shortcode (most likely, you can try it) as it's a bit more tricky and you'll have to use HTML for that. However, I already have some development code in the works that would allow stacks via shortcodes. Will likely be a month or two before I can fully implement that, however.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic