Tutorials PHP How to Add Font Awesome Icons to Redux Options Panel

How to Add Font Awesome Icons to Redux Options Panel

Redux WordPress framework includes Elusive Icons by default for your options panel icon needs. Elusive Icons are very limited in number. If you not happy with using Elusive Icons or, just want to include another web font (icon) framework such as Font Awesome, you can do that using the following code snippet.

Add the following code snippet to your redux framework options-init.php file.

// This is your option name where all the Redux data is stored.
$opt_name = 'my_theme_options';

function add_font_awesome_icons() {
    // Uncomment this to remove elusive icon from the panel completely
    //wp_deregister_style( 'redux-elusive-icon' );
    //wp_deregister_style( 'redux-elusive-icon-ie7' );
        array(), time(), 'all'
    wp_enqueue_style( 'redux-font-awesome' );

add_action('redux/page/' . $opt_name . '/enqueue', 'add_font_awesome_icons');
Inline Feedbacks
View all comments
Previous Post

How to Create a New Template in Google Docs

Next Post

How to use custom CSS in Redux framework option panel

Related Posts
By clicking “Allow All”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Cookie Notice
Allow All
Would love your thoughts, please comment.x