A recent Deloitte report has highlighted a concerning trend: half of women in the U.S. are skipping or delaying necessary medical care. This alarming statist...
Virtual primary care platforms offer discreet convenient care, especially for weight loss journeys. If there’s a waiting period for a prescription, patients...
As we celebrate International Women's Day on March 8th, we reflect on the progress made and the challenges that persist for women, particularly concerning....
How do GLP-1 medications work? There’s been a lot of attention in the media about new obesity drugs because they can support remarkable weight loss results.
In today's busy world, finding the right way to lose weight can be a real struggle. Jennifer had tried one diet after another, but nothing seemed to stick...
Thyroid disorders might be more common than you think. In the United States, 1 in 8 women develop a thyroid disorder in their lifetime, and women are more...
If you find winter more difficult to get through compared to the rest of the year, you’re not alone. The weather is gloomier, days are shorter, and there’s...
It’s okay if your holidays look a bit different this year. Do what it takes to take care of yourself — physically and mentally. If you’re feeling a little...
Mental health care in the United States today is a complex and evolving landscape. According to the Centers for Disease Control and Prevention (CDC), mental...
Wrinkles form due to breakdown of elastin and collagen in the dermis (the thick layer of living tissue below the epidermis which forms our true skin...
Tretinoin (generic Retin-A) is one of the most effective medications on the market for treating and preventing acne, wrinkles, dark spots, and saggy skin...
When you hear about birth control, you automatically think of those pink pill dispensers that contain oral contraceptives you have to remember to take every...
Most long-term birth control works by releasing hormones that stop ovulation and thicken the cervical mucus (making it more difficult for the sperm to swim up..
In recent years we have witnessed a remarkable shift in the landscape of weight management. Newer weight loss medications has had an unprecedented impact on...
It's time to rethink traditional approaches to weight management. Obesity has become a widespread health crisis, affecting both individuals and organizations...
We are thrilled to announce the appointment of Loni Belyea MD, MBA, DABOM, as our new Chief Medical Officer. Dr. Belyea brings a wealth of experience and...
// Function to get query parameters from URL
function getQueryParam(param) {
const urlParams = new URLSearchParams(window.location.search);
return urlParams.get(param);
}
// Function to hide sections if it's not Page 1
function hideTopSectionsOnPagination() {
// Look for the specific pagination parameter (replace '5a0420bf_page' with your actual pagination parameter)
const currentPage = getQueryParam("5a0420bf_page");
console.log("Current page:", currentPage); // Debugging: check what page we're on
// Check if we're on Page 2 or greater (when currentPage is not null, it means we're on a paginated page)
if (currentPage && parseInt(currentPage, 10) > 1) {
console.log("Hiding top sections..."); // Debugging: if we're on page 2 or greater
// Hide the top sections (adjust the selector to match your sections)
const topSections = document.querySelectorAll(".top-section"); // Adjust this class if needed
console.log("Top sections found:", topSections.length); // Debugging: log how many sections are found
topSections.forEach(section => {
section.style.display = "none";
});
} else {
console.log("We're on Page 1. Top sections will not be hidden.");
}
}
// Run the function when the page loads
document.addEventListener("DOMContentLoaded", function() {
console.log("Page loaded, checking pagination...");
hideTopSectionsOnPagination();
});