-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add custom social link icons and use variations #59368
base: trunk
Are you sure you want to change the base?
Conversation
This probably would be easier to implement after |
Warning: Type of PR label mismatch To merge this PR, it requires exactly 1 label indicating the type of PR. Other labels are optional and not being checked here.
Read more about Type labels in Gutenberg. Don't worry if you don't have the required permissions to add labels; the PR reviewer should be able to help with the task. |
@gaambo @ajitbohra What's up with this ticket? Are there some issues, or are they just because of conflicts? It seems legit and I would have solved it very similarly. In the meantime, the block variant can be registered via PHP (
I would invest some time to get this ready to merge. This feature is needed and asked by many people. A set of 20 services without the possibility to extend isn't enough. I understand that only a limited set should be provided by WordPress, but it should be easy to extend. A hardcoded set isn't great (current solution). |
What?
This PR changes the social-link block to use the variations icon/label in the editor and adds a PHP filter to adding custom social services.
It's similar to ndiegos social sharing link block.
Why?
Related discussions/PR:
#19041
#39419
#30749
#39868
#55142
How?
TODO
gutenberg_
in the build process and I don't know why.Testing Instructions
Existing social blocks
Custom social icons
In a custom plugin/theme
Testing Instructions for Keyboard
Screenshots or screencast