We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
Is there a way/hook to add our own iconfonts to the ICON CONTROL list?
$this->add_control( 'icon', [ 'label' => __( 'Social Icon', 'your-plugin' ), 'type' => Controls_Manager::ICON, 'include' => [ 'my-icon icon-name-1', 'my-icon icon-name-2', ], ] );
I was thinking to add some CSS to identify the icon in the list, but I dont think this is the correct way
.select2-results__option .icon-name-1:after { content: 'icon-name'; }
Cheers
The text was updated successfully, but these errors were encountered:
Thanks for your feedback! We're considering it for the future, right now I merge it to previous issue in the same subject #110
Sorry, something went wrong.
No branches or pull requests
Hi,
Is there a way/hook to add our own iconfonts to the ICON CONTROL list?
$this->add_control( 'icon', [ 'label' => __( 'Social Icon', 'your-plugin' ), 'type' => Controls_Manager::ICON, 'include' => [ 'my-icon icon-name-1', 'my-icon icon-name-2', ], ] );
I was thinking to add some CSS to identify the icon in the list, but I dont think this is the correct way
.select2-results__option .icon-name-1:after { content: 'icon-name'; }
Cheers
The text was updated successfully, but these errors were encountered: