Using x-icons on in the admin area?

The icons work fine on the front end using either of the following:

<i aria-hidden="true" class="x-icon" data-x-icon-s="&#xf019"></i>

[x_icon type="thumbs-up"]

However, when I try to add them to the back-end/admin area they do not show up. Anyway I can enable this to start working? Maybe a hook of some sort?

Hi @tkulow,

Thanks for reaching out.
I have added the code into the Raw Content element and it worked. If that is not the case and you are trying to point out something else, please provide any screenshot marked with the issue or any video that helps us to recognize the problem.

Thanks

Thank you, but what I mean by back-end/admin area is being able to see the icons in the dashboard. I have a custom plugin that has an options page where I would like to show icons to the administrators. It’s just for our site, so I wanted to take advantage of the already built-in icons.

Hello @tkulow,

You can try using it with a class name or you may use the WordPress Dashicon Please have a look at this article to get the list of WordPress Dashboard Icons and reference code on how to use it in custom plugin or settings.

Hope it helps
Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.