Skip to content
This repository has been archived by the owner on May 9, 2018. It is now read-only.

Add a shortcode for icons in html Editor field. #2

Open
hailwood opened this issue Jan 10, 2017 · 0 comments
Open

Add a shortcode for icons in html Editor field. #2

hailwood opened this issue Jan 10, 2017 · 0 comments

Comments

@hailwood
Copy link
Owner

It should convert [fa icon='star' classes='some extra classes'] into <i class="fa fa-star some extra classes"></i>)

Any attributes other than icon or classes should be passed along as is e.g. [fa icon="star" classes="another" title="A star"] would be <i class="fa fa-star another" title="A star"></i>

It should be optional (a register_shortcode option in the yml probably enabled by default)

@hailwood hailwood changed the title Add a shortcode parser Add a shortcode for icons in html Editor field. Jan 10, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant