Saurabh Jain Posted August 29, 2020 Share Posted August 29, 2020 I want to add android and ios app link in footer with facebook youtube twitter social icons But as of now they are not in list Link to comment Share on other sites More sharing options...
Nathan Explosion Posted August 29, 2020 Share Posted August 29, 2020 Facebook, Twitter and YouTube are the top 3 of the several entries in the social profiles list in the ACP. Link to comment Share on other sites More sharing options...
Saurabh Jain Posted September 1, 2020 Author Share Posted September 1, 2020 I want to add android and ios link as well Link to comment Share on other sites More sharing options...
WP V0RT3X Posted September 1, 2020 Share Posted September 1, 2020 (edited) There are at least two applications in the marketplace for additional social icons, afaik with one of them it should be possible. [edit] Quick and dirty? Replace template siteSocialProfiles with this ... {{if \IPS\Settings::i()->site_social_profiles AND $links = json_decode( \IPS\Settings::i()->site_social_profiles, TRUE ) AND \count( $links )}} <style> .cShareLink_android { background: #689F38; } .cShareLink_apple { background: #F76BC1; } </style> <li class='cUserNav_icon'> <a href='https://www.android.com' target='_blank' class='cShareLink cShareLink_android' rel='noopener noreferrer'><i class='fa fa-android'></i></a> </li> <li class='cUserNav_icon'> <a href='https://www.apple.com' target='_blank' class='cShareLink cShareLink_apple' rel='noopener noreferrer'><i class='fa fa-apple'></i></a> </li> {{foreach $links as $profile}} <li class='cUserNav_icon'> <a href='{$profile['key']}' target='_blank' class='cShareLink cShareLink_{$profile['value']}' rel='noopener noreferrer'><i class='fa fa-{$profile['value']}'></i></a> </li> {{endforeach}} {{endif}} Edited September 1, 2020 by V0RT3X666 Saurabh Jain, Feneroin and Orioni 3 Link to comment Share on other sites More sharing options...
Recommended Posts