#32155 closed feature request (invalid)
Interested in a custom Dashicon
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description (last modified by )
I would like a Dashicons added to your Misc section of Developer Resources: Dashicons Page (https://developer.wordpress.org/resource/dashicons/#format-chat). I need this Icon for a project which is constantly evolving. Hope you guys can help.
Attachments (1)
Change History (9)
#1
follow-up:
↓ 3
@
10 years ago
- Keywords reporter-feedback added
It would help if you told us which new icon you would like :)
#2
@
10 years ago
- Component changed from General to Administration
- Description modified (diff)
- Summary changed from Interested in a custom Dash Icon to Interested in a custom Dashicon
- Type changed from feature request to enhancement
#3
in reply to:
↑ 1
@
10 years ago
- Type changed from enhancement to feature request
Replying to johnbillion:
It would help if you told us which new icon you would like :)
The new icon is for a social media project I'm building. I've attached an svg file with my ticket submission. Sorry wasn't sure if I should label the site Social-media prematurely because it's still in its infancy.
#4
follow-up:
↓ 5
@
10 years ago
Thanks Dono12.
I'm unsure what the icon represents. It appears to be a box with a rough edge. Can you explain more?
#5
in reply to:
↑ 4
@
10 years ago
Replying to johnbillion:
Thanks Dono12.
I'm unsure what the icon represents. It appears to be a box with a rough edge. Can you explain more?
It's the letter M with film strips at the top and bottom.
#6
@
10 years ago
- Keywords reporter-feedback removed
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
- Version 4.2 deleted
Hey @Dono12. I think what you are looking for is a way to add your own icon for a plugin. You can do that with the icon_url param in add_menu_page.
https://codex.wordpress.org/Function_Reference/add_menu_page
#7
in reply to:
↑ description
@
10 years ago
Replying to Dono12:
I would like a Dashicons added to your Misc section of Developer Resources: Dashicons Page (https://developer.wordpress.org/resource/dashicons/#format-chat). I need this Icon for a project which is constantly evolving. Hope you guys can help.
I'm not well versed in PHP, so I couldn't figure out how to write the function properly to achieve what I'm trying to do. I assumed that I would have to submit my custom icon file and it would simply be listed among the Dashicons on the WP Icon page. Thus giving me the ability to call it in my CSS like so :
#wpadminbar #wp-admin-bar-my-sites>.ab-item:before,
#wpadminbar #wp-admin-bar-site-name>.ab-item:before
{
content: "\f488";
top: 2px;
}.
I want to replace the first icon in the wp-admin-bar menu on the front-end, which is typically the image of a gear. I know I can change it for something else from the list of Icons on this web page: http://melchoyce.github.io/dashicons/, by simply changing content: "\f488"; to a generated CSS from one of the Icons listed.
Can you please help me with the proper way to write the function and how to call my custom Dashicon.
My Custom Dash Icon