Jump to content

Featured Replies

Posted

After upgrading my site from 4.7.13 to 4.7.14, my Twitter/X logo is now showing my Facebook logo--so there are two Facebook logos, one for Facebook and the other for Twitter/X.

I noticed there were some template changes with this update, including this one:

core → front → global → siteSocialProfiles

{{if \IPS\Settings::i()->site_social_profiles AND $links = json_decode( \IPS\Settings::i()->site_social_profiles, TRUE ) AND \count( $links )}}
	{{foreach $links as $profile}}
		<a class='cUserNav_icon'>
            {{if $profile['value'] == 'x'}}
            <a href='{$profile['key']}' target='_blank' class='cShareLink cShareLink_x' rel='noopener noreferrer'><img src="{resource="logos/x.svg" app="core" location="global"}" width='13' height='12' style='vertical-align: middle'></a>
            {{else}}
			<a href='{$profile['key']}' target='_blank' class='cShareLink cShareLink_{$profile['value']}' rel='noopener noreferrer'><i class='fa fa-{$profile['value']}'></i></a>
		    {{endif}}
        </li>
	{{endforeach}}
{{endif}}

Any idea on how I can fix this?

Solved by teraßyte

Go to solution
  • Author

Also, with the change in this template there were Accessibility errors introduced in Page Speed Insights. My score dropped from 90 to 85 with the new template due to these issue:

new_issues.thumb.webp.ef9a57a4a9c77e81a9eff217af5096e3.webp

  • Community Expert
  • Solution

The missing <li> elements issue is something I reported a few days ago:

 

  • Community Expert

Thanks, this has been fixed internally and will be pushed in a future update 🙂 

Recently Browsing 0

  • No registered users viewing this page.