• Hello. I try to add new icons as described

    add_filter( ‘storm_social_icons_networks’, ‘storm_social_icons_networks’);
    function storm_social_icons_networks( $networks ) {

    $extra_icons = array (
    ‘/feed’ => array( // Enable this icon for any URL containing this text
    ‘name’ => ‘RSS’, // Default menu item label
    ‘class’ => ‘rss’, // Custom class
    ‘icon’ => ‘icon-rss’, // FontAwesome class
    ‘icon-sign’ => ‘icon-rss-sign’ // May not be available. Check FontAwesome.
    ),
    );

    $extra_icons = array_merge( $networks, $extra_icons );
    return $extra_icons;

    }

    But nothing works

    Try to add

    add_filter( ‘storm_social_icons_use_latest’, ‘__return_true’ );

    But it doesn’t help.

    How can I add new icons from fontawesome?

The topic ‘Cannot add new icons’ is closed to new replies.