elementor / elementor/elementor
📚 🧩 ❓ Controls_Manager::ICONS render unicode font awesome
- Dominant language
- PHP
- Stars
- 7.1k
- Forks
- 1.6k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 193
Description
## Prerequisites
- [x] I have searched for similar features requests in both open and closed tickets and cannot find a duplicate.
- [x] The feature is still missing in the latest stable version of Elementor ( Elementor Pro. )
**What problem is your feature request going to solve? Please describe.**
I want to retrieve the unicode code of the font awesome i selected in the control
**Describe the solution you'd like**
The control return an array containing Icon data [value, library]
But i would like to alter a pseudo element with the selectors
$this->add_control('stm_display_icon',
[
'type' => Controls_Manager::ICONS,
...
'selectors' => ['{{WRAPPER}} .myclass::before' => 'content: {{ID}};'], // in the place of 'content: {{VALUE}};'
]);
Maybe it exists a workaround for that ?
**Describe alternatives you've considered**
**Additional context**
Elementor 3.1.3 WP 5.6
Contributor guide
Assessment
This issue has not been assessed yet.