‘);
var twoauthors = document.querySelector(‘.social-author’);
var avatar = twoauthors.getElementsByClassName(“social-author__avatar”);
if (typeof(avatar[1]) != ‘undefined’ && avatar[1] != null)

document.querySelector(‘.custom-field-JobFunction’).style.display = “none”;
document.querySelector(“body .social-author .social-author__avatar”).style.marginBottom = “0px”;

const widgetHead = document.querySelector(‘.widget__head’);
const photoCaption = document.querySelector(‘.photo-caption’);
const photoCredit = document.querySelector(‘.photo-credit’);
if (photoCaption)
widgetHead.appendChild(photoCaption);

if (photoCredit)
widgetHead.appendChild(photoCredit);

Loading…