It is crazy, yet interesting! 🙂
You can try adding the following to your theme/plugin:
function _my_admin_menu_icons() {
if ( class_exists( 'Menu_Icons' ) ) {
add_action( 'admin_enqueue_scripts', array( 'Menu_Icons', '_load_front_end' ) );
}
}
add_action( 'admin_init', '_my_admin_menu_icons' );
Thread Starter
John
(@jsing)
I tried adding that to my theme’s functions.php, but it didn’t seem to make a difference. Any other suggestions?
This is a really nice plugin by the way!
Whoops, sorry I forgot a line 🙂
function _my_admin_menu_icons() {
if ( class_exists( 'Menu_Icons' ) ) {
add_action( 'admin_enqueue_scripts', array( 'Menu_Icons', '_load_front_end' ) );
add_action( 'admin_enqueue_scripts', array( 'Menu_Icons', '_enqueue_styles' ) );
}
}
add_action( 'admin_init', '_my_admin_menu_icons' );
Thread Starter
John
(@jsing)
That did it, awesome. Thanks for the help!