Opened 10 years ago
Closed 10 years ago
#758 closed enhancement (fixed)
Dashicons page should have a usage example for associating with content types
Reported by: | DrewAPicture | Owned by: | coffee2code |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Developer Hub | Keywords: | |
Cc: |
Description
It's great that Mel's Dashicons page was integrated with DevHub, though I feel like it's missing example usage for associating dashicons with content types in the dashboard. This would be in addition to the existing CSS usage section.
I believe we have that information elsewhere, maybe in one of the handbooks, but it would be especially pertinent in this context on that page.
Attachments (1)
Change History (7)
This ticket was mentioned in Slack in #docs by drew. View the logs.
10 years ago
#3
@
10 years ago
Interesting. I kind of wonder if maybe we should just put it in the Plugin Developer handbook and link over to it instead of duplicating the effort. Food for thought.
Here's a first pass on adding "WordPress Usage", with
add_menu_page
andregister_post_type
examples grabbed from the plugin handbook (though neither actually had a dashicons example, with add_menu_page using a .png icon, and no icon in register_post_type).CSS Usage became CSS/HTML Usage, since we probably want to encourage using the core helper classes, and has 2 examples for the 2 classes.
I also reordered the instructions: adding WordPress Usage first, then CSS/HTML Usage, and moving Photoshop Usage to the end.