Add data-icon input to WordPress custom menu links April 9, 2022 by Tarik Billa Another option is to toggle the CSS Classes checkbox under screen option, WP Admin > Appearance > Menus, and attach the icon to a CSS class. And add your icons using psuedo selectors to the CSS class.