As we celebrate Women's Health Month, we examine a critical issue affecting businesses. Women's needs have been historically overlooked by our healthcare system
We're excited to announce Hello Alpha's strategic partnership with BODi, a fitness and nutrion company, to enhance our comprehensive approach to women's health.
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.
Worried birth control will cause weight gain? Learn what the research really says, which methods may affect weight, and how to choose what’s right for you.
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...
Protect your mental health this holiday season with 8 practical tips for managing stress, setting boundaries, and prioritizing your emotional well-being.
When patients ask us what makes the biggest difference in their skincare journey, our answer is always: personalized, prescription-strength ingredients.
Starting tretinoin and experiencing more breakouts? Learn what a tretinoin purge is, how long it lasts, and tips to get through this phase successfully.
Learn what causes wrinkles—from sun exposure to collagen loss—and how skin care, lifestyle, and prevention strategies can help you age with confidence.
Reproductive rights go beyond abortion. Explore how access to contraception, telehealth, and comprehensive care shapes true reproductive freedom today.
Worried birth control will cause weight gain? Learn what the research really says, which methods may affect weight, and how to choose what’s right for you.
Confused about birth control options? Compare the pill, patch, ring, and IUD to understand how each works, their pros and cons, and which fits your life.
// 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();
});