To reorder icons, use the following snippet:
<?php add_filter( 'simple_social_default_profiles', 'custom_reorder_simple_icons' ); function custom_reorder_simple_icons( $icons ) { // Set your new order here $new_icon_order = array( 'behance' => '', 'bloglovin' => '', 'dribbble' => '', 'email' => '', 'facebook' => '', 'flickr' => '', 'github' => '', 'gplus' => '', 'instagram' => '', 'linkedin' => '', 'medium' => '', 'periscope' => '', 'phone' => '', 'pinterest' => '', 'rss' => '', 'snapchat' => '', 'stumbleupon' => '', 'tumblr' => '', 'twitter' => '', 'vimeo' => '', 'xing' => '', 'youtube' => '', ); foreach( $new_icon_order as $icon => $icon_info ) { $new_icon_order[ $icon ] = $icons[ $icon ]; } return $new_icon_order; }
There was an error while loading. Please reload this page.