// 12/05/2022 -- Team image Replacement const teamImages = [ { teamName: "Erin Fox", imgSrc: '//static.fmgsuite.com/media/InlineContent/originalSize/59a366ea-46e8-4dd0-9a0a-15faa32512bb.jpg' }, { teamName: "Erin Kinnie", imgSrc: '//static.fmgsuite.com/media/InlineContent/originalSize/5d905819-6ce1-481b-bb5e-c3f2dbe4241c.jpg' }, { teamName: "Anne Wilson", imgSrc: '//static.fmgsuite.com/media/InlineContent/originalSize/1bd4b349-c415-44f1-90e2-1ddbfdb8ad9e.jpg' }, { teamName: "Kathy Bennett", imgSrc: '//static.fmgsuite.com/media/InlineContent/originalSize/16f77b13-4487-447c-9b1d-287626a59717.jpg' }, { teamName: "Cassie Norman", imgSrc: '//static.fmgsuite.com/media/InlineContent/originalSize/68731356-0862-4134-89ba-98603b17550d.jpg' } ]; replaceTeamImages(teamImages); $( ".dev-flipCardsTeam .c-team-section__member" ).each(function() { var flipcardImg = $(this).find('img').attr('src'); var flipcardName = $(this).find('h4').text(); var flipcardTitle = $(this).find('p:eq(0)').text(); var flipcardPhone = $(this).find('p:eq(1)').text(); var flipcardInfo = $(this).find('.c-team-member__info').html(); var flipcardEmail = $(this).find('p.c-team-member__email').text(); var flipcardProfile = $(this).find('h4 a').attr('href'); $(this).replaceWith('

' + flipcardName + '

' + flipcardTitle + '

 '+flipcardInfo+' 
View Profile
'); }); //Change Visit to Meet in the Footer Address $('footer .customFooterAddress h4').text('Meet'); //add email to contact us page $('

Email: office@foxfinancialadvisors.net

').appendTo('.page-contact .contact-block__info'); //Fix Email in Footer $('a[href^="mailto:"]').each(function(){ let email = $(this).attr('href').replace('mailto:', ''); $(this).text(email); }) $('.page-blog .c-page--header').text('FoxFin Blog'); /*****************************/ /* 08/16/24 - Footer Changes */ /*****************************/ // Check for Custom Footer if ($('.customFooter').length) { $(function() { // Lets move something $('.customFooter .moonlight-contact-information').appendTo('.customFooter .customFooterContactLinks'); }); }