Replies: 7 comments
-
https://github.com/bradvin/dashicons-picker jquery Dashicons Picker |
Beta Was this translation helpful? Give feedback.
-
One "problem" with this is that these library change constantly (especially Font Awesome) so we'll have to maintain this very actively.
A filter is required in that case since the PHP side won't have any knowledge of any CSS classes that are available. SVG support would be a simple (image) file uploader. I'd prefer the fontIconPicker since it's meant for font icons in general instead of one type. |
Beta Was this translation helpful? Give feedback.
-
We could use the CDN, that's the typical way with FontAwesome (and some others). And yep, I'd also be pointing towards an icon picker that supported multiple libraries of font icons. |
Beta Was this translation helpful? Give feedback.
-
@sc0ttkclark Where would you add external github modules in the folder structure? |
Beta Was this translation helpful? Give feedback.
-
Aren't these particular fonts typically just loaded through CDN stylesheets? |
Beta Was this translation helpful? Give feedback.
-
Yes, that is unrelated to the above module :) That module can handle all the Icon/SVG selection stuff and through filters you can choose to load locally or from CDN. |
Beta Was this translation helpful? Give feedback.
-
Feature: New Field Type Dashicon/FontAwesome/Custom Icon Pack Support submitted via Slack by jimtrue
Beta Was this translation helpful? Give feedback.
All reactions