• Resolved bkiflai

    (@bkiflai)


    I have the pro version (I don’t know if that matters) and I want to know how I can add/create custom social media icons for sites not included as an option for each team member.

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Bayejid Ahmed

    (@bayejid00)

    Hi @bkiflai,

    By adding the following PHP code in your current theme’s functions.php file like the screenshot, you can add your custom icon to the social list.

    add_filter('sp_wptp_member_social_icons', 'sp_wptp_member_additional_social_icons');
    function sp_wptp_member_additional_social_icons($additional_social_icons){
    	$additional_social_icons = array(
    		// 'any-font-awesome-icon-name' => 'icon label'
    		'share'        => 'Share', 
    		'your-icon'    => 'Custom Icon',
    	);
    	return $additional_social_icons;
    }

    Let us know if the custom icon is shown or not after adding code.

    Thread Starter bkiflai

    (@bkiflai)

    Worked like a charm, many thanks!

    Plugin Support Bayejid Ahmed

    (@bayejid00)

    Hi @bkiflai,

    We’re very glad to hear that it works perfectly. Thanks for appreciating us. If you are happy with the plugin and support, please share your experience in the plugin review section.

    Have a great day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom Social Media Sites/Icons’ is closed to new replies.