'); }; jQuery(".home .alert").removeClass("alert-danger"); jQuery(".home .alert").addClass("alert-dark"); // jQuery( "#home-alert" ).insertAfter( jQuery( "#top-nav" ) ); jQuery("#home-alert").addClass("container"); /*Edit my profile page accessibility treatment*/ jQuery("input[type='file']").removeAttr("aria-describedby"); //edit provider certification board names jQuery(".provider-contentarea strong:contains('Nurse Practitioners')").text("American Academy of Nurse Practitioners"); // Change TMC location Suite Number for providers McClure & Moffitt if (jQuery("body").hasClass("postid-47526") || jQuery("body").hasClass("postid-48162") ){ jQuery (".provider-cliniclist-item:contains('Internal') .suite-num").html('Suite 1520'); }; //Adding giving link to patient info dropdown jQuery("#main-nav .nav-item.dropdown div[aria-labelledby='patientinfo-dropdown']").append("Giving"); //Adding Dental Care link to patient info dropdown jQuery("#main-nav .nav-item.dropdown div[aria-labelledby='patientinfo-dropdown']").append("Dental Care"); //Renaming myutp portal jQuery("#main-nav .nav-item a.nav-link:contains('MyUTP Portal')").text("Patient Portal"); //Changing pay my bill link jQuery("#main-nav .nav-item a.nav-link:contains('Pay My Bill')").attr("href", "https://www.utphysicians.com/paymybill/"); // Nurse Triage Banner - Move under header image if(jQuery("body").hasClass("page-id-37347")){jQuery("#utpwrap .row.header-post-thumbnail").after(jQuery("#utp-alert"));} //Centering footer jQuery("#main-footer .row.pt-5").addClass("justify-content-center"); //Adding translated by to two spanish covid pages if(jQuery("body").hasClass("postid-49955") || jQuery("body").hasClass("postid-49959")){jQuery("#post-attribution span.orange:first-child").after(" | Traducido por: Milka Horst");} //Remove Sponsor Logos - February 3rd,2021 jQuery("#main-footer .col-md-3.p-md-2.p-3.text-center.d-none.d-sm-block, #main-footer .col-md-3.p-md-2.p-3.text-center.d-sm-block").remove(); //UT Physicians Coronavirus Faq if(jQuery("body").hasClass("page-id-48087") || jQuery("body").hasClass("page-id-55398")) { jQuery("#related-pages").empty().html("Related Articles on COVID-19"); jQuery.ajax({ url: "https://www.utphysicians.com/wp-json/wp/v2/posts?per_page=5&categories=7461", dataType: "json", success: function(result){ for(post in result){ var pTitle = result[post].title.rendered; var pUrl = result[post].link; var pDateISO = new Date(result[post].date); var monthStr = new Intl.DateTimeFormat('en-US', {month: 'long'}).format(pDateISO); var dayStr = pDateISO.getDate(); var yearStr = pDateISO.getFullYear(); var pDate = monthStr + " " + dayStr + ", " + yearStr; jQuery(".left-nav-list.utp-nav-list.list-unstyled").append("