Suggestion: Menu Icon update
-
I know your icon is the blue/purple color, but it doesn’t fit into the scheme of the WordPress Admin Menu so I decided to investigate and come up with a suggestion. I’m not sure where this request belongs, so I added it in this forum.
I created an SVG icon from your png, and in the plugin /groups/lib/admin/class-groups-admin.php, on lines 164 and 250, I changed the code from this:
GROUPS_PLUGIN_URL . ‘/images/groups.png’
To this:
‘data:image/svg+xml;base64,’ . base64_encode(file_get_contents(GROUPS_PLUGIN_URL.’images/groups.svg’))
Now any chosen color scheme of the WP Admin (including the default), the icon will adapt to that color scheme.
This is just a suggestion and I hope you would consider implementing this instead of the png, or at least create a setting that would allow the developer or user to change the icon to the png or the svg.
Thank you
- The topic ‘Suggestion: Menu Icon update’ is closed to new replies.