Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Daniel

    (@dannisbet)

    Right now, they are fixed to order via alphabetical order. I’ve been working on a V2 of the plugin on-and-off for a while that would allow for rearranging in the future, but I don’t have a timeline for it.

    In the meantime, you can manually sort them through your functions.php file, like such:

    function add_new_icons($icon_list) {
        $new_list['Twitter'] = 'twitter';
        $new_list['Facebook'] = 'facebook';
        // And so on...
    
        return $new_list;
    }
    add_filter('social_icon_accounts', 'add_new_icons');

    This function to order the icons does not seem to work. I tried:

    function add_new_icons($icon_list) {
        $new_list['Facebook'] = 'facebook';
        $new_list['Instagram'] = 'instagram';
        $new_list['Twitter'] = 'twitter';
        $new_list['RSS'] = 'rss';
    
        return $new_list;
    }
    add_filter('social_icon_accounts', 'add_new_icons');
    • This reply was modified 7 years, 10 months ago by mpmchugh.
    • This reply was modified 7 years, 10 months ago by mpmchugh.

    Nevermind. It worked!

    It seems I just had to open and save the widget after installing the function.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How can I rearrange the social media icons?’ is closed to new replies.