document.addEventListener("DOMContentLoaded", function () { var socialContainer = document.getElementById("social-container"); var socialLinks = socialContainer ? socialContainer.querySelectorAll(".elementor-grid-item a") : []; var contactList = document.getElementById("contact-list"); var contactItems = contactList ? contactList.querySelectorAll(".elementor-icon-list-item") : []; var hasLink = false; // Handle social links Array.prototype.forEach.call(socialLinks, function (link) { if (!link.href || link.href.trim() === "") { link.closest(".elementor-grid-item").style.display = "none"; } else { hasLink = true; } }); if (!hasLink && socialContainer) { socialContainer.style.display = "none"; } // Handle contact list items var hasContactItem = false; Array.prototype.forEach.call(contactItems, function (item) { var link = item.querySelector("a"); var text = item.querySelector(".elementor-icon-list-text"); // Hide the item if there's no meaningful content if ( (!link || !link.href || link.href.trim() === "") && (!text || !text.textContent.trim()) ) { item.style.display = "none"; } else { hasContactItem = true; } }); if (!hasContactItem && contactList) { contactList.style.display = "none"; } });
GriefShare: Surviving the Holidays, Ebenezer UMC, 161 Embrey Mill Road, Stafford, VA 22554. Tuesday, November 14, 9:00-11:00 AM; Wednesday, November 15, 7:00-9:00 PM; or Wednesday, December 6, 7:00-9:00 PM. Are you grieving or do you know someone who is? When you’re mourning a loved one’s death, the holiday season can be especially painful. Join Christian Counselor Keith Priest for GriefShare: Surviving the Holidays, a 2-hour seminar that will help you prepare for the holidays and even discover hope for the future. Choose one session: Tuesday, November 14, 9:00-11:00 AM; Wednesday, November 15, 7:00-9:00 PM; or Wednesday, December 6, 7:00-9:00 PM. The class is free, and childcare is available. Learn more and register at ebenezerumc.org/sth or call 540-659-1349.