Suggested Changes
-
I’m not sure if others agree, but part of using shortcodes is to tighten up my markup. With that in mind might it be possible to change or add secondary shortcodes:
[wp-svg-icons icon="headphones" wrap="i"]
to
[svgicons i="headphones"]
It’s safe for the wrap to be assumed “i” if not stated otherwise.
Don’t need the wp- because the shortcode is being used inside wordpress. ??
That said, I’d be grateful if it was able to specify padding [I’m targeting the specific classes from style.css currently] such that any of the possible css standards are possible:
[svgicons i="headphones" p="4px"] [svgicons i="headphones" p="1em"] [svgicons i="headphones" p="0 1em 0 0"] [svgicons i="headphones" p="2px 0"]
And so forth. To just pass that string into {padding:string;}
Thanks. The icons I’ve found to use are beautiful and, well… very iconic. No ambiguity, this icon says what it is.
- The topic ‘Suggested Changes’ is closed to new replies.