All stories

What’s the difference between a dietitian and a nutritionist?

Alpha Medical
Primary care
Nutrition
Weight Loss
Diet
April 8, 2021

Introducing Dr. J

Telemedicine
Alpha Medical
Women's health
July 22, 2020

We are Alpha.

Telemedicine
Healthcare
Alpha Medical
Women's health
July 23, 2020

Navigating the Migraine Maze

Health
Migraines
November 29, 2023

Prescription Weight Loss Medications: Myths and Facts

Health
Healthy Lifestyle
Weight Loss
Weight Loss Tips
December 18, 2023
female nurse or doctor

Get primary care today!

Get personalized care from your dedicated provider through our secure messaging platform — anywhere, anytime.
Get started
// 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(); });