Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Saurabh Jain Posted August 29, 2020 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
Nathan Explosion Posted August 29, 2020 Posted August 29, 2020 Facebook, Twitter and YouTube are the top 3 of the several entries in the social profiles list in the ACP.
Saurabh Jain Posted September 1, 2020 Author Posted September 1, 2020 I want to add android and ios link as well
WP V0RT3X Posted September 1, 2020 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 Feneroin, Saurabh Jain and Orioni 3
Recommended Posts