Klass theme - How to add Instagram link to the footer

Klass theme - How to add Instagram link to the footer

od Ahmad Soltani -
Število odgovorov: 3

Hi moodlers nasmeh


I'm currently using trying to add my Instagram link to the Get Social part of the footer in this theme. As you can see in the following image, there are only four parts for Facebook, Twitter, Pinterest and Google+  so I'm kinda lost how to add Instagram to those four.



By the way, I'm using Moodle 3.3
Any ideas? :-?

Povprečje ocenitev: -
V odgovor na Ahmad Soltani

Re: Klass theme - How to add Instagram link to the footer

od Mary Evans -
Slika Core developers Slika Documentation writers Slika Peer reviewers Slika Plugin developers Slika Testers

If yuu want to add a further link to that list you would need to add some code to various files.

However, if you did not need the GOOGLE+ link you could convert that setting to read Instagram instead.

To do this go to the lang directory file found at...

klass/ lang/ en/ theme_klass.php

https://github.com/lmsace/klass/blob/v3.4/lang/en/theme_klass.php?L58-L60

leave the strings that are on the left as they are,  but change the wording on the right, so that you change Google to read Instagram. 

Save the file, then go to Site Administration > Languages > Language packs

Then select the button under the first column to update your language files.

Next go to the settings and enter your Instagram URL instead of Googles.

Mary

V odgovor na Mary Evans

Re: Klass theme - How to add Instagram link to the footer

od Ahmad Soltani -
Thank you Mary nasmeh

I don't need the Google+ link so I'll do as you suggest. Your solution changes the wording of Google+ to Instagram in the footer setting, right?  Will an Instagram logo appear instead of Google+ logo when I add my Instagram URL?  :-?   because I need the Instagram logo in footer nasmeh
V odgovor na Ahmad Soltani

Re: Klass theme - How to add Instagram link to the footer

od Ahmad Soltani -

What I'm trying to say is that I need both the Instagram logo and URL down there in the Get Social part of the footer nasmeh

so is there any way I can add it next to Facebook and Twitter logos?