AnsweredAssumed Answered

Amending Twitter and Facebook Links

Question asked by Liam Gardner on Nov 22, 2018
Latest reply on Nov 25, 2018 by Stuart Ryan

Hi all, 

 

I wonder if anyone is able to help. 

 

I spoke with my CSM about adapting the Social Media links on our theme page, to which she suggested to use the following Java Script. 

 

$(‘a[href=“https://qube.instructure.com/privacy_policy”]’).remove();

$(‘a[href=“#”]’).remove();

$(‘a[href=“http://facebook.com/instructure”]’).remove();

$(‘a[href=“http://twitter.com/instructure”]’).remove();

 $(“#footer-links”).append(“<a href=‘https://twitter.com/QubeLearning’>Twitter</a> “);
$(“#footer-links”).append(“<a href=‘https://www.facebook.com/QubeTrainingProvider’>Twitter</a> “);

 

We already use some google analytics code, so I copied the above script and added it after this. 

 

I understand some Javas Script but my Wizardry is limited in this field. 

 

Any support / a foolproof checklist would be appreciated. 

 

Thanks in advance!

Outcomes