[wp-trac] [WordPress Trac] #26922: WP-Admin - Allow for Additional Icon Fonts
WordPress Trac
noreply at wordpress.org
Fri Jan 24 05:13:58 UTC 2014
#26922: WP-Admin - Allow for Additional Icon Fonts
----------------------------+-----------------------------
Reporter: styledev | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Graphic Design | Version: 3.8
Severity: normal | Keywords:
Focuses: ui |
----------------------------+-----------------------------
Currently, register_post_type allows the custom post type to set their
menu icon via URL, a data string, or use Dashicons. It would be great to
allow for the Developer to add in their own icon font (e.g. Symbolset).
To do so would require the addition of two new filters and a small rework
of the current code in menu-header.php and menu.php. The goal here is to
allow for the similar functionality that allows "dashicons-" to work.
I will attach a patch next.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26922>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list