CINXE.COM
Green Initiative - West Virginia State Parks
<!doctype html> <!--[if lt IE 7]><html class="no-js ie ie6 lt-ie9 lt-ie8 lt-ie7" lang="en-US"> <![endif]--> <!--[if IE 7]><html class="no-js ie ie7 lt-ie9 lt-ie8" lang="en-US"> <![endif]--> <!--[if IE 8]><html class="no-js ie ie8 lt-ie9" lang="en-US"> <![endif]--> <!--[if gt IE 8]><!--><html class="no-js" lang="en-US"> <!--<![endif]--> <head> <meta name="facebook-domain-verification" content="flr06125x1q953m5iu5vxwt64cfjp3" /> <link rel="stylesheet" href="https://use.typekit.net/vrt4tul.css" /> <meta name="theme-color" content="#83755a" /> <!-- <meta http-equiv="Content-Security-Policy" content="default-src https://*;"> --> <meta name="wp_gen_date" content="11/25/2024 09:59:29 PM" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no" /> <meta name="p:domain_verify" content="c949873a44427057b715e56a395fc7ce"/> <!-- Google Tag Manager --> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-WLHV8M3');</script> <!-- End Google Tag Manager () --> <meta name="google-site-verification" content="nF9ySuDiMZd4qQ9oSBlPypKHQEm0axPu9rFJgVtHDc8" /> <meta charset="UTF-8" /> <meta name="google-site-verification" content="w6bTFd0lfQH4TkGq9Qcl-97MrLy85GmxAMpBTbNCFmI" /> <meta name="google-site-verification" content="3qQcwXYAZD6gmYeKQfegWNVyYK-prgPSGsR5apxbynE" /> <title> Green Initiative - West Virginia State Parks </title> <style> html body .single-tribe_events .tribe-events-cal-links a, html body .tribe-events-cal-links a{ /* padding-left: 0px !important; */ padding: 10px 0px !important; } html body .tribe-events-meta-group{ width: auto !important; } .single-park-block .image-blocks{ display: flex; } .single-park-block .image-blocks .image-blocks__block{ height: auto; display: block; } /* Begin AB Test Code */ html body .navbar .navigation nav > ul > li > a{ font-size: 23px !important; } /* Hide new elements */ body.variant ul.general-links a.park-picker.find, body.variant ul.general-links .header-search, body.variant nav .header--guide, body .variant{ display: none !important; } /* Show old elements */ body.variant .variant{ display: block !important; } .footer--attached__bottom .looking{ display: block; } .footer--attached__bottom .looking, .footer--attached__bottom div.dropdown{ position: relative; } body.page-template-template-page-blog .sidebar__additional__content select{ height: auto !important; min-height: 40px !important; } html.safari body.page-template-template-page-blog .sidebar__additional__content select{ -webkit-appearance: none; } .footer--attached__bottom .looking:before, .footer--attached__bottom div.dropdown:before{ width: 15px; background-image: url(/wp-content/themes/wv-state-parks/img/svg/chevron-bottom-white.svg); background-position: center center; background-size: contain; background-repeat: no-repeat; content:' '; position: absolute; right: 5px; top: 0px; bottom:0px; } html body .mobile-navigation__park-options__park-option .button, html body .header_alert{ background-color: #e48a75; } .wpcf7-textarea{ font-family: 'Gotham', sans-serif; } .wpcf7-number{ width: 100%; max-width: 380px; } .content--interior .has-text-align-center{ text-align: center !important; } html body .featherlight .featherlight-content .container--filter .wrapper .filter--options .things-list .parent209[data-term="225"]{ text-align: center; } html body .featherlight .featherlight-content .container--filter .wrapper .filter--options .things-list .parent209[data-term="225"] .region-label{ right: 0; margin: 0px auto; text-align: center; } body.page-id-13092 .wp-block-separator{ margin: 20px 0px; } .align-center{ text-align: center; } .page-id-12962 .has-5-columns .wp-block-column p, .page-id-12957 .has-5-columns .wp-block-column p{ padding-top: 5px; margin-top: 5px; border-top: 2px solid #eee; } .page-id-12962 .wp-block-column p em, .page-id-12957 .wp-block-column p em{ font-size: 15px; line-height: 1.4em; display: block; } form input.button{ border: none !important; } .page-id-12962 .wp-block-column svg, .page-id-12962 .wp-block-column h2, .page-id-12957 .wp-block-column svg, .page-id-12957 .wp-block-column h2{ display: inline-block; vertical-align: middle; padding-bottom: 0px; } .page-id-12962 .wp-block-column h2, .page-id-12957 .wp-block-column h2{ font-size: 18px !important; padding-left: 5px; margin: 0; font-family: gotham,sans-serif; color: #54564a; font-weight: 900; } .page-id-12962 .wp-block-column svg *, .page-id-12957 .wp-block-column svg *{ fill: #6f794e!important; } #inn-m a strong{ color: #6f794e;} .park_pick_drop select{ z-index: 0 !important; } .container--features .featured-items>div:first-child, .container--features .featured-items>div:last-child{ padding: 0px !important; } .featured-items h2{ text-align: center; } @media screen and (max-width: 1199px) { .mobile-navigation__menu ul{ display: flex; flex-direction: column; } .mobile-navigation__menu ul li[data-menu-item="2039"]{ order: 1; } .mobile-navigation__menu ul li[data-menu-item="11441"]{ order: 2; } .mobile-navigation__menu ul li[data-menu-item="2038"]{ order: 3; } .mobile-navigation__menu ul li[data-menu-item="2037"]{ order: 4; } .mobile-navigation__menu ul li[data-menu-item="2052"]{ order: 5; } } @media screen and (max-width: 640px) { html body.home .container--features .featured-item p{ font-size: 15px !important; } html body.home .container--features .featured-item h3{ font-size: 23px !important; } html body .container--features .featured-item h3, html body.home .container--features .featured-item p:nth-child(3){ padding: 20px 30px !important; } .lodging.active.main-form .cell.auto{ flex-basis: 100%; } } @media screen and (max-width: 480px) { .cell.large-6 .featured-item h3, .cell.large-6 .featured-item p:nth-child(3){ padding: 10px !important; font-size: 14px !important; } .cell.large-6 .featured-item p:nth-child(4){ /* bottom: -85px !important; */ right: auto !important; bottom: auto !important; position: relative !important; } .cell.large-6 .featured-item p:nth-child(4) a{ width: 100%; } } @media screen and (min-width: 1024px) { .cell.large-6 .featured-item p:nth-child(3){ bottom: 30px !important; } } @media screen and (min-width: 1200px) { .cell.large-6.left .featured-item p:nth-child(3){ bottom: 30px !important; } } .container--lodging .cell:hover{ opacity: .7; } html body .wrapper a.button.bread{ font-size: 15px !important; color: #e48a75 !important; border: 2px solid #e48a75 !important; background: #fff !important; } .footer--attached__bottom .dropdown > span{ display: block; } body.page-template-template-page-product.parent-pageid-11288 #content .col .content-body .wp-block-columns.has-3-columns p, body.page-template-template-page-product.parent-pageid-11288 #content .col .content-body .wp-block-columns.has-4-columns p, body.page-template-template-page-product.parent-pageid-11288 #content .col .content-body .wp-block-columns.has-6-columns p{ text-align: center; } a.wp-block-button__link{ font-family: 'Bebas-Kai', sans-serif !important; cursor: pointer; border-radius: 0px !important; display: inline-block; color: white; background: #e48a75 !important; padding: 12px 35px; text-decoration: none; text-transform: uppercase; font-weight: normal; font-size: 20px; } .newsletter-signup .styled-form .buttonRowClass .buttonContainerClass .buttonClass[type="Submit"]:hover, .newsletter-signup .styled-form .buttonRowClass .buttonContainerClass .buttonClass[type="Reset"]:hover, .footer--attached__bottom .cell.shrink input[type="submit"]:hover, a.wp-block-button__link:hover{ background: #579495 !important; color: #fff !important; } .container--features .featured-items .cell{ max-width: 100% !important; } .container--features .featured-items .cell a img{ width: 100% !important; margin: 0px !important; } .mobile-navigation .lodging input[type="submit"] { font-family: 'Gotham', sans-serif; } .page-id-2355 h1 { margin-top: 40px !important; margin-bottom: 0 !important; } .page-id-2355 .content .grid-x .post-copy { background: #fbfbf8; } .page-id-2355 .content .grid-x .post-copy h4 { margin-bottom: 20px; padding: 15px 17px; border-bottom: 1px solid rgba(0, 0, 0, .05); margin-bottom: 0; line-height: 25px; } .page-id-2355 .content .grid-x .post-copy ul { padding: 15px 17px; margin: 0; } .page-id-2355 .content .grid-x .post-copy ul li { padding-bottom: 10px; } .page-id-2355 .content .grid-x .post-copy ul li:last-child { padding-bottom: 0; } .page-id-2355 .content .grid-x .post-copy ul li::before { display: none; } .page-id-2355 .content .grid-x .post-copy .fa-long-arrow-right { float: right; height: 50px; margin-right: 17px; color: #6f794e; opacity: .7; pointer-events: none; margin-left: 10px; } .page-id-2355 .content .grid-x .post-copy ul li .fa-fw { color: #6f794e; opacity: .2; font-size: 18px; } .page-id-2355 .content .grid-x .post-copy ul li a { text-decoration: none; color: #e48a75 !important; font-weight: bold; } .page-id-2027 .item--post::before { display: none; } .page-id-10787 .content-body > p { text-align: center !important; } .page-id-10787 .content-body > p:last-of-type { padding-bottom: 40px; } .page-id-10787 .content-body > .content-heading > .content-title > h1 { text-align: center; } .page-id-10787 .content-body .wp-block-separator { margin: 40px 0; display: block; height: 1px; border: 0; border-top: 1px solid #ccc; padding: 0; } .page-id-10787 .container--features .featured-item p:nth-child(3) { top: 50px; } .page-id-10787 .container--features .grid-container { padding: 0; max-width: none; } .navbar .navigation nav > ul > li > a.header--guide{ display: flex; justify-content: center; align-items: center; padding-left: 50px; position: relative; } .navbar .navigation nav > ul > li > a.header--guide::before{ display: none; content:''; background-image: url('/wp-content/uploads/2021/10/WVSP_InteractiveVacationGuide.jpg'); height: 73px !important; width: 50px !important; position: absolute; left: 0px; top: 0px; background-position: center center; background-size: cover; background-repeat: no-repeat; } a.header--guide img{ width: 71px; height: 103px; } a.header--guide strong{ max-width: 160px; display: block; padding: 0px 20px; line-height: 1.4em; font-size: 14px; color: #e48a75; font-family: 'Gotham', sans-serif; } a.header--guide svg *{ fill: #e48a75; } .header ul.align-spaced{ align-items: center; } @media screen and (min-width: 1024px) { .page-id-10787 .container--features .featured-item p:nth-child(3) { top: 42%; bottom: auto; } html body.page-id-10787 .container--features .featured-item h3 { top: 24%; bottom: auto; } html body.page-id-10787 .container--features .right .featured-item h3 { top: 15%; } html body.page-id-10787 .container--features .left .featured-item h3 { top: 15%; } } @media screen and (min-width: 1224px) { .page-id-10787 .container--features .featured-item p:nth-child(3) { top: 50%; } html body.page-id-10787 .container--features .right .featured-item h3 { top: 30%; } html body.page-id-10787 .container--features .left .featured-item h3 { top: 30%; } } .footer--attached__bottom .dropdown{ width: 100% !important; } .footer--attached__bottom .cell.auto > strong, .footer--attached__bottom .activities .cell.auto > label > strong{ display: block; text-align: left; color: #f2f3ef; margin: 0px; font-size: 14px; font-family: 'Gotham', sans-serif; text-transform: capitalize; font-weight: 900; } .wp-block-gallery > li::before { display: none; } </style> <meta http-equiv="X-UA-Compatible" content="IE=10"> <!-- <meta name="description" content="WV State Parks and Forests"> --> <link rel="stylesheet" href="https://wvstateparks.com/wp-content/themes/wv-state-parks/static/foundation.min.css?version=april-2019" type="text/css" /> <link rel="stylesheet" href="https://wvstateparks.com/wp-content/themes/wv-state-parks/style.css?version=april-2022" type="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <link rel="pingback" href="https://wvstateparks.com/xmlrpc.php" /> <meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' /> <style>img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px }</style> <!-- This site is optimized with the Yoast SEO Premium plugin v23.2 (Yoast SEO v23.9) - https://yoast.com/wordpress/plugins/seo/ --> <meta name="description" content="The West Virginia State Parks system’s mission statement is “to promote conservation by preserving and protecting natural areas of unique or exceptional" /> <link rel="canonical" href="https://wvstateparks.com/parks/programs/green-initiative/" /> <meta property="og:locale" content="en_US" /> <meta property="og:type" content="article" /> <meta property="og:title" content="Green Initiative" /> <meta property="og:description" content="The West Virginia State Parks system’s mission statement is “to promote conservation by preserving and protecting natural areas of unique or exceptional" /> <meta property="og:url" content="https://wvstateparks.com/parks/programs/green-initiative/" /> <meta property="og:site_name" content="West Virginia State Parks" /> <meta property="article:modified_time" content="2017-09-19T12:51:46+00:00" /> <meta property="og:image" content="https://wvstateparks.com/wp-content/uploads/2017/04/calvin-price.jpg" /> <meta property="og:image:width" content="2560" /> <meta property="og:image:height" content="834" /> <meta property="og:image:type" content="image/jpeg" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:label1" content="Est. reading time" /> <meta name="twitter:data1" content="1 minute" /> <script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://wvstateparks.com/parks/programs/green-initiative/","url":"https://wvstateparks.com/parks/programs/green-initiative/","name":"Green Initiative","isPartOf":{"@id":"https://wvstateparks.com/#website"},"primaryImageOfPage":{"@id":"https://wvstateparks.com/parks/programs/green-initiative/#primaryimage"},"image":{"@id":"https://wvstateparks.com/parks/programs/green-initiative/#primaryimage"},"thumbnailUrl":"https://wvstateparks.com/wp-content/uploads/2017/04/calvin-price.jpg","datePublished":"2017-09-18T15:38:43+00:00","dateModified":"2017-09-19T12:51:46+00:00","description":"The West Virginia State Parks system’s mission statement is “to promote conservation by preserving and protecting natural areas of unique or exceptional","breadcrumb":{"@id":"https://wvstateparks.com/parks/programs/green-initiative/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https://wvstateparks.com/parks/programs/green-initiative/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https://wvstateparks.com/parks/programs/green-initiative/#primaryimage","url":"https://wvstateparks.com/wp-content/uploads/2017/04/calvin-price.jpg","contentUrl":"https://wvstateparks.com/wp-content/uploads/2017/04/calvin-price.jpg","width":"2560","height":"834"},{"@type":"BreadcrumbList","@id":"https://wvstateparks.com/parks/programs/green-initiative/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://wvstateparks.com/"},{"@type":"ListItem","position":2,"name":"State Parks in West Virginia","item":"https://wvstateparks.com/parks/"},{"@type":"ListItem","position":3,"name":"Programs","item":"https://wvstateparks.com/parks/programs/"},{"@type":"ListItem","position":4,"name":"Green Initiative"}]},{"@type":"WebSite","@id":"https://wvstateparks.com/#website","url":"https://wvstateparks.com/","name":"West Virginia State Parks","description":"WV State Parks and Forests","publisher":{"@id":"https://wvstateparks.com/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://wvstateparks.com/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https://wvstateparks.com/#organization","name":"West Virginia State Parks","url":"https://wvstateparks.com/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https://wvstateparks.com/#/schema/logo/image/","url":"https://wvstateparks.com/wp-content/uploads/2019/06/Screen-Shot-2019-06-28-at-6.31.04-AM.png","contentUrl":"https://wvstateparks.com/wp-content/uploads/2019/06/Screen-Shot-2019-06-28-at-6.31.04-AM.png","width":2116,"height":628,"caption":"West Virginia State Parks"},"image":{"@id":"https://wvstateparks.com/#/schema/logo/image/"}}]}</script> <!-- / Yoast SEO Premium plugin. --> <link rel='dns-prefetch' href='//cdnjs.cloudflare.com' /> <link rel='dns-prefetch' href='//maps.googleapis.com' /> <link rel='dns-prefetch' href='//fonts.googleapis.com' /> <link rel='dns-prefetch' href='//use.fontawesome.com' /> <link rel='stylesheet' id='genesis-blocks-style-css-css' href='https://wvstateparks.com/wp-content/plugins/genesis-blocks/dist/style-blocks.build.css?ver=1723660166' type='text/css' media='all' /> <link rel='stylesheet' id='wp-block-library-css' href='https://wvstateparks.com/wp-includes/css/dist/block-library/style.min.css?ver=6.7.1' type='text/css' media='all' /> <style id='classic-theme-styles-inline-css' type='text/css'> /*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} </style> <style id='global-styles-inline-css' type='text/css'> :root{--wp--preset--aspect-ratio--square: 1;--wp--preset--aspect-ratio--4-3: 4/3;--wp--preset--aspect-ratio--3-4: 3/4;--wp--preset--aspect-ratio--3-2: 3/2;--wp--preset--aspect-ratio--2-3: 2/3;--wp--preset--aspect-ratio--16-9: 16/9;--wp--preset--aspect-ratio--9-16: 9/16;--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 13px;--wp--preset--font-size--medium: 20px;--wp--preset--font-size--large: 36px;--wp--preset--font-size--x-large: 42px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}:where(.is-layout-flex){gap: 0.5em;}:where(.is-layout-grid){gap: 0.5em;}body .is-layout-flex{display: flex;}.is-layout-flex{flex-wrap: wrap;align-items: center;}.is-layout-flex > :is(*, div){margin: 0;}body .is-layout-grid{display: grid;}.is-layout-grid > :is(*, div){margin: 0;}:where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;}:where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;} :where(.wp-block-post-template.is-layout-flex){gap: 1.25em;}:where(.wp-block-post-template.is-layout-grid){gap: 1.25em;} :where(.wp-block-columns.is-layout-flex){gap: 2em;}:where(.wp-block-columns.is-layout-grid){gap: 2em;} :root :where(.wp-block-pullquote){font-size: 1.5em;line-height: 1.6;} </style> <link rel='stylesheet' id='contact-form-7-css' href='https://wvstateparks.com/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=6.0' type='text/css' media='all' /> <link rel='stylesheet' id='wpcf7-redirect-script-frontend-css' href='https://wvstateparks.com/wp-content/plugins/wpcf7-redirect/build/css/wpcf7-redirect-frontend.min.css?ver=1.1' type='text/css' media='all' /> <link crossorigin="anonymous" rel='stylesheet' id='google-fonts-css-css' href='//fonts.googleapis.com/css?family=Amatic+SC%3A700%7CAsap%3A400%2C700&ver=6.7.1' type='text/css' media='all' /> <link rel='stylesheet' id='airdatepicker-css-css' href='https://wvstateparks.com/wp-content/themes/wv-state-parks/lib/airdatepicker/css/datepicker.min.css?ver=6.7.1' type='text/css' media='all' /> <link crossorigin="anonymous" rel='stylesheet' id='font-awesome-official-css' href='https://use.fontawesome.com/releases/v5.10.1/css/all.css' type='text/css' media='all' integrity="sha384-wxqG4glGB3nlqX0bi23nmgwCSjWIW13BdLUEYC4VIMehfbcro/ATkyDsF/AbIOVe" crossorigin="anonymous" /> <link rel='stylesheet' id='cf7cf-style-css' href='https://wvstateparks.com/wp-content/plugins/cf7-conditional-fields/style.css?ver=2.5.1' type='text/css' media='all' /> <link crossorigin="anonymous" rel='stylesheet' id='font-awesome-official-v4shim-css' href='https://use.fontawesome.com/releases/v5.10.1/css/v4-shims.css' type='text/css' media='all' integrity="sha384-i1lF6V7EeiD7KOgGLtAvJiK1GAQx4ogzG6B9gpEaDuHSLZuM3sFtPZrI6H2Gzqs6" crossorigin="anonymous" /> <style id='font-awesome-official-v4shim-inline-css' type='text/css'> @font-face { font-family: "FontAwesome"; font-display: block; src: url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-brands-400.eot"), url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-brands-400.eot?#iefix") format("embedded-opentype"), url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-brands-400.woff2") format("woff2"), url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-brands-400.woff") format("woff"), url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-brands-400.ttf") format("truetype"), url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-brands-400.svg#fontawesome") format("svg"); } @font-face { font-family: "FontAwesome"; font-display: block; src: url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-solid-900.eot"), url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-solid-900.eot?#iefix") format("embedded-opentype"), url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-solid-900.woff2") format("woff2"), url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-solid-900.woff") format("woff"), url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-solid-900.ttf") format("truetype"), url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-solid-900.svg#fontawesome") format("svg"); } @font-face { font-family: "FontAwesome"; font-display: block; src: url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-regular-400.eot"), url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-regular-400.eot?#iefix") format("embedded-opentype"), url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-regular-400.woff2") format("woff2"), url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-regular-400.woff") format("woff"), url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-regular-400.ttf") format("truetype"), url("https://use.fontawesome.com/releases/v5.10.1/webfonts/fa-regular-400.svg#fontawesome") format("svg"); unicode-range: U+F004-F005,U+F007,U+F017,U+F022,U+F024,U+F02E,U+F03E,U+F044,U+F057-F059,U+F06E,U+F070,U+F075,U+F07B-F07C,U+F080,U+F086,U+F089,U+F094,U+F09D,U+F0A0,U+F0A4-F0A7,U+F0C5,U+F0C7-F0C8,U+F0E0,U+F0EB,U+F0F3,U+F0F8,U+F0FE,U+F111,U+F118-F11A,U+F11C,U+F133,U+F144,U+F146,U+F14A,U+F14D-F14E,U+F150-F152,U+F15B-F15C,U+F164-F165,U+F185-F186,U+F191-F192,U+F1AD,U+F1C1-F1C9,U+F1CD,U+F1D8,U+F1E3,U+F1EA,U+F1F6,U+F1F9,U+F20A,U+F247-F249,U+F24D,U+F254-F25B,U+F25D,U+F267,U+F271-F274,U+F279,U+F28B,U+F28D,U+F2B5-F2B6,U+F2B9,U+F2BB,U+F2BD,U+F2C1-F2C2,U+F2D0,U+F2D2,U+F2DC,U+F2ED,U+F328,U+F358-F35B,U+F3A5,U+F3D1,U+F410,U+F4AD; } </style> <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js" id="jquery-js"></script> <script type="text/javascript" defer="defer" src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCoSNDY06QAp9fklREuuLalxsT6z_cR8rw" id="google-maps-js"></script> <script type="text/javascript" defer="defer" src="https://wvstateparks.com/wp-content/themes/wv-state-parks/static/ext.js" id="wvsp-ext-js"></script> <script type="text/javascript" defer="defer" src="https://wvstateparks.com/wp-content/themes/wv-state-parks/static/site.js?ver=157" id="site-js"></script> <script type="text/javascript" defer="defer" src="https://cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js" id="modernizr-js"></script> <script type="text/javascript" defer="defer" src="https://wvstateparks.com/wp-content/themes/wv-state-parks/lib/airdatepicker/js/datepicker.min.js?ver=6.7.1" id="airdatepicker-js-js"></script> <script type="text/javascript" defer="defer" src="https://wvstateparks.com/wp-content/themes/wv-state-parks/lib/airdatepicker/js/i18n/datepicker.en.js?ver=6.7.1" id="airdatepicker-js-en-js"></script> <link rel="https://api.w.org/" href="https://wvstateparks.com/wp-json/" /><link rel="alternate" title="JSON" type="application/json" href="https://wvstateparks.com/wp-json/wp/v2/pages/7680" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://wvstateparks.com/xmlrpc.php?rsd" /> <link rel='shortlink' href='https://wvstateparks.com/?p=7680' /> <link rel="alternate" title="oEmbed (JSON)" type="application/json+oembed" href="https://wvstateparks.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwvstateparks.com%2Fparks%2Fprograms%2Fgreen-initiative%2F" /> <link rel="alternate" title="oEmbed (XML)" type="text/xml+oembed" href="https://wvstateparks.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fwvstateparks.com%2Fparks%2Fprograms%2Fgreen-initiative%2F&format=xml" /> <meta name="tec-api-version" content="v1"><meta name="tec-api-origin" content="https://wvstateparks.com"><link rel="alternate" href="https://wvstateparks.com/wp-json/tribe/events/v1/" /><!-- There is no amphtml version available for this URL. --> <link rel="apple-touch-icon-precomposed" sizes="57x57" href="/apple-touch-icon-57x57.png" /> <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/apple-touch-icon-114x114.png" /> <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/apple-touch-icon-72x72.png" /> <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144x144.png" /> <link rel="apple-touch-icon-precomposed" sizes="60x60" href="/apple-touch-icon-60x60.png" /> <link rel="apple-touch-icon-precomposed" sizes="120x120" href="apple-touch-icon-120x120.png" /> <link rel="apple-touch-icon-precomposed" sizes="76x76" href="/apple-touch-icon-76x76.png" /> <link rel="apple-touch-icon-precomposed" sizes="152x152" href="/apple-touch-icon-152x152.png" /> <link rel="icon" type="image/png" href="/favicon-196x196.png" sizes="196x196" /> <link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" /> <link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32" /> <link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16" /> <link rel="icon" type="image/png" href="/favicon-128.png" sizes="128x128" /> </head> <body class="page-template-default page page-id-7680 page-child parent-pageid-7679 tribe-no-js tribe-theme-wv-state-parks fall no-modal" data-template="base.twig"> <script> window.openPark = function(selectObject){ var url = selectObject.value; // get selected value if (url && url != 0) { // require a URL window.location = url; // redirect } return false; }; </script> <!-- Google Tag Manager (noscript) --> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WLHV8M3" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) (WLHV8M3) --> <div class="overlay"></div> <header class="header"> <style> span.t{ font-size: 2rem; color: #444444; font-family: 'Bebas-Kai', sans-serif; font-weight: normal; margin: 0px; } </style> <div id="inn-m" class="inn-m Deal"> <span class="t">Veterans Salute Savings</span> <ul class="wp-block-list"> <li>50% off lodge and cabin stays for veterans and active-duty military personnel</li> <li>Good for stays between now and March 15, 2025</li> <li>Valid for new reservations made during the promotional period</li> <li>Offer excludes Stonewall, Blackwater Falls and Canaan Valley</li> <li>No blackout dates</li> </ul> <p>Promo Code: VET50</p> <a id="22371booknow" class="button button--cta Deal" href="https://reservations.wvstateparks.com/products/lodging?"> Book Now </a> <p><a class="all" href="/deals">Browse Additional Deals</a></p> </div> <!-- <script> window.setCookie = function(cname, cvalue, exdays) { var d = new Date(); d.setTime(d.getTime() + (exdays*24*60*60*1000)); var expires = "expires="+ d.toUTCString(); document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/"; } window.getCookie = function(cname) { var name = cname + "="; var decodedCookie = decodeURIComponent(document.cookie); var ca = decodedCookie.split(';'); for(var i = 0; i <ca.length; i++) { var c = ca[i]; while (c.charAt(0) == ' ') { c = c.substring(1); } if (c.indexOf(name) == 0) { return c.substring(name.length, c.length); } } return ""; } var hiddenBanner = window.getCookie("hide-banner"); console.log(hiddenBanner); if(hiddenBanner.length > 0){ var body = document.getElementsByTagName("body")[0]; body.classList.toggle('hide-banner'); } document.addEventListener('click', function(event){ // If the clicked element doesn't have the right selector, bail if (!event.target.matches('.cls')) return; // Don't follow the link event.preventDefault(); // Log the clicked element in the console console.log(event.target); var body = document.getElementsByTagName("body")[0]; body.classList.toggle('hide-banner'); window.setCookie("hide-banner", "hide-banner", 180); }, false); </script> <style> .hide-banner .alert{ display: none !important; } .alert{ background: #e48a75; color: #fff; padding-right: 20px; text-align: left; } .alert .wrapper{ position: relative; padding: 20px 0px; } .alert h2{ margin: 0px; text-transform: uppercase; font-family: bebas-kai,sans-serif; color: #fff; font-size: 30px; text-align: left !important; } .alert p{ font-size: 14px; margin: 0px; padding: 0px; font-family: 'Gotham', sans-serif; text-align: left; } .alert .cls svg{ pointer-events: none; } .alert .cls{ position: absolute; right: 0px; top: 0px; font-size: 30px; cursor: pointer; z-index: 99999999999; } .alert p a{ color: #fff; text-decoration: underline; font-weight: 900; } </style> <div class="alert"> <div class="grid-container wrapper"> <div class="grid-x"> <div class="cell small-12"> <h2>Travel Alert</h2> </div> <div class="cell shrink cls"> <i class="fas fa-times"></i> </div> <div class="cell small-12"> <p>For health and safety updates and information about the free vaccine clinics at West Virginia’s state parks and forests, <a href="/travel-alert">click here.</a></p> </div> </div> </div> </div> --> <style> .header_alert p{ color: #fff; } </style> <div class="header_alert"> <div class="grid-container"> <div class="grid-x"> <div class="cell medium-auto"> <a href="#" class="deal-link" data-featherlight="#inn-m" id="22371banner"> <span><p>Take 50% off lodge and cabin stays for veterans and active-duty military personnel with code VET50 at checkout.</p> </span> </a> </div> <div class="cell medium-shrink"> <ul class="general-links"> <!-- % include "persistent-cart.twig" % --> <li> <a class="park-picker call" title="Green Initiative Phone Number Header" href="tel:1-833-WV-PARKS"> <span>1-833-WV-PARKS</span> </a> </li> <li> <a class="park-picker cards" title="Green Initiative Gift Cards Header" href="https://shopwvstateparks.com/"> <span>Merchandise</span> </a> </li> <li> <a class="park-picker deals" title="Green Initiative Deals Header" href="/deals"> <span>Deals</span> </a> </li> <li> <a class="park-picker deals variant" title="Green Initiative Vacation Guide Header" href="/free-interactive-vacation-guide/"> <span>Interactive Vacation Guide</span> </a> <a href="#" class="header-search"> <span class="header-search__inner"><i class="fal fa-search"></i></span> </a> </li> <li> <a title="Green Initiative Careers Header" href="/careers"> <span>Careers</span> </a> </li> </ul> </div> </div> </div> </div> <!-- <div class="checkout-mobile"> <a class="cart-main-mobile" title="Welcome to West Virginia State Parks Checkout Header" href="https://reservations.wvstateparks.com/shopping-cart/review"> <i class="fal fa-shopping-basket"></i> Checkout (<span id="cart-count-mobile">0</span>) </a> </div> --> <div class="head-row"> <div class="grid-container clear"> <div class="grid-x align-middle"> <div class="logo cell shrink" role="banner"> <a class="logo__link" href="https://wvstateparks.com" rel="home"> <img class="logo__link__image" width="247" height="55" decoding="async "src="/wp-content/themes/wv-state-parks/img/wvsp-logo-1.svg" /> </a> </div> <div class="navbar cell auto"> <div class="navigation grid-x align-middle"> <div class="cell auto"> <nav id="nav-main" class="nav-main" role="navigation"> <ul class="grid-x align-spaced"> <li class="cell shrink nav-main-item menu-item menu-item-type-post_type menu-item-object-page current-page-ancestor menu-item-2039 menu-item-has-children"> <a class="nav-main-link" href="https://wvstateparks.com/parks/">Our Parks</a> <div class="dropdown-arrow"> <i class="fas fa-caret-down"></i> <i class="fas fa-caret-up"></i> </div> <ul class="nav-drop"> <li class="nav-drop-item"> <a class="nav-sub-link" href="/contact/#az_parks">Parks: A to Z</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/about/">About West Virginia State Parks</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/parks/programs/">Programs</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/groups/">Groups</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/parks-foundation/">West Virginia State Parks Foundation</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/rules-and-regulations/">Rules and Regulations</a> </li> </ul> </li> <li class="cell shrink nav-main-item menu-item menu-item-type-post_type menu-item-object-page menu-item-11441 menu-item-has-children"> <a class="nav-main-link" href="https://wvstateparks.com/places-to-stay/">Places to Stay</a> <div class="dropdown-arrow"> <i class="fas fa-caret-down"></i> <i class="fas fa-caret-up"></i> </div> <ul class="nav-drop"> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/places-to-stay/lodges/">Lodges</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/places-to-stay/cabins/">Cabins</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/places-to-stay/campgrounds/">Campgrounds</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/places-to-stay/unique-stay/">Unique Places to Stay</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/electric-vehicle-charging-stations/">EV Charging Stations</a> </li> </ul> </li> <li class="cell shrink nav-main-item menu-item menu-item-type-post_type menu-item-object-page menu-item-2037 menu-item-has-children"> <a class="nav-main-link" href="https://wvstateparks.com/things-to-do/">Things to Do</a> <div class="dropdown-arrow"> <i class="fas fa-caret-down"></i> <i class="fas fa-caret-up"></i> </div> <ul class="nav-drop"> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/aerial-tours/">Aerial Tours</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/atv-riding/">ATV Riding</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/boating/">Boating</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/camping/">Camping</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/elk-management-tours/">Elk Management Tours</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/fishing/">Fishing</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/geocaching/">Geocaching</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/golf-courses/">Golf Courses</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/hiking-trails/">Hiking Trails</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/horseback-riding/">Horseback Riding</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/hunting/">Hunting</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/biking-trails/">Mountain Biking Trails</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/museums-historical-sites/">Museums and Historical Sites</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/outdoor-adventures/">Outdoor Adventures</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/scenic-train-rides/">Scenic Train Rides</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/snow-sports/">Snow Sports</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/things-to-do/swimming/">Swimming</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="/park/pipestem-resort-state-park/white-water-rafting/">Whitewater Rafting</a> </li> </ul> </li> <li class="cell shrink nav-main-item menu-item menu-item-type-post_type menu-item-object-page menu-item-2052 menu-item-has-children"> <a class="nav-main-link" href="https://wvstateparks.com/blog/">Trip Inspiration</a> <div class="dropdown-arrow"> <i class="fas fa-caret-down"></i> <i class="fas fa-caret-up"></i> </div> <ul class="nav-drop"> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/blog/">Blog</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/share-your-story/">Share Your Story</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/newsroom/">Newsroom</a> </li> </ul> </li> <li class="cell shrink nav-main-item menu-item menu-item-type-post_type menu-item-object-page menu-item-2038 menu-item-has-children"> <a class="nav-main-link" href="https://wvstateparks.com/calendar/">Events</a> <div class="dropdown-arrow"> <i class="fas fa-caret-down"></i> <i class="fas fa-caret-up"></i> </div> <ul class="nav-drop"> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/calendar/">Calendar of Events</a> </li> <li class="nav-drop-item"> <a class="nav-sub-link" href="https://wvstateparks.com/groups/">Groups</a> </li> </ul> </li> <li class="cell shrink nav-main-item"> <a class="header--guide" href="/wvsp-newsletter"> <strong>Sign Up<br>For Deals</strong> <i class="far fa-long-arrow-right"></i> </a> <a href="#" class="header-search variant"> <span class="header-search__inner"><i class="fal fa-search"></i></span> </a> </li> </ul> </nav> </div> <!-- <div class="cell shrink"> <a class="button button--cta park-picker find variant" title="Green Initiative Find a Park Header" href="#park--search__modal"> Find A Park </a> </div> --> </div> </div> </div> </div> </div> <div class="search search--desktop"> <div class="grid-container"> <form method="get" action="https://wvstateparks.wpengine.com/#content"> <input type="text" name="s" placeholder="Start your adventure..."> <i class="fal fa-search"></i> </form> </div> </div> <div class="mega-menu-ttd"> <div class="grid-container"> <div class="grid-x grid-padding-x grid-margin-x"> <div class="cell large-8"> <h4>Recreation</h4> <div class="grid-x grid-padding-x grid-margin-x"> <div class="cell medium-4"> <ul class="header-dropdown 2037"> <li data-menu-item="10824" class="10824"><a href="/things-to-do/aerial-tours/"><span>Aerial Tours</span></a></li> <li data-menu-item="6489" class="6489"><a href="/things-to-do/atv-riding/"><span>ATV Riding</span></a></li> <li data-menu-item="6491" class="6491"><a href="/things-to-do/boating/"><span>Boating</span></a></li> <li data-menu-item="7510" class="7510"><a href="/things-to-do/camping/"><span>Camping</span></a></li> <li data-menu-item="6492" class="6492"><a href="/things-to-do/elk-management-tours/"><span>Elk Management Tours</span></a></li> <li data-menu-item="6492" class="6492"><a href="/things-to-do/fishing/"><span>Fishing</span></a></li> <li data-menu-item="6493" class="6493"><a href="/things-to-do/geocaching/"><span>Geocaching</span></a></li> </ul> </div> <div class="cell medium-4"> <ul class="header-dropdown 2037"> <li data-menu-item="6494" class="6494"><a href="/things-to-do/golf-courses/"><span>Golf Courses</span></a></li> <li data-menu-item="6495" class="6495"><a href="/things-to-do/hiking-trails/"><span>Hiking Trails</span></a></li> <li data-menu-item="6496" class="6496"><a href="/things-to-do/horseback-riding/"><span>Horseback Riding</span></a></li> <li data-menu-item="6537" class="6537"><a href="/things-to-do/hunting/"><span>Hunting</span></a></li> <li data-menu-item="6490" class="6490"><a href="/things-to-do/biking-trails/"><span>Mountain Biking Trails</span></a></li> <li data-menu-item="6497" class="6497"><a href="/things-to-do/museums-historical-sites/"><span>Museums and Historical Sites</span></a></li> <li data-menu-item="6498" class="6498"><a href="/things-to-do/outdoor-adventures/"><span>Outdoor Adventures</span></a></li> </ul> </div> <div class="cell medium-4"> <ul class="header-dropdown 2037"> <li data-menu-item="6499" class="6499"><a href="/things-to-do/scenic-train-rides/"><span>Scenic Train Rides</span></a></li> <li data-menu-item="6500" class="6500"><a href="/things-to-do/snow-sports/"><span>Snow Sports</span></a></li> <li data-menu-item="6503" class="6503"><a href="/things-to-do/stargazing/"><span>Stargazing</span></a></li> <li data-menu-item="6501" class="6501"><a href="/things-to-do/swimming/"><span>Swimming</span></a></li> <li data-menu-item="6502" class="6502"><a href="/park/pipestem-resort-state-park/white-water-rafting/"><span>Whitewater Rafting</span></a></li> </ul> </div> </div> </div> <div class="cell large-4"> <h4>Programs</h4> <div class="grid-x"> <div class="cell medium-12"> <ul class="header-dropdown 2037"> <!-- <li><a href="/groups/"><span>Groups & Events</span></a></li> --> <!-- <li><a href="/parks/programs/"><span>Programs</span></a></li> --> <li><a href="/parks/programs/vipp/"><span>VIPP</span></a></li> <li><a href="/parks/programs/hiking/"><span>Hiking</span></a></li> <li><a href="/parks/programs/green-initiative/"><span>Green Initiative</span></a></li> <li><a href="/west-virginia-state-parks-and-forests-adopt-a-trail-program/"><span>Adopt-A-Trail</span></a></li> </ul> </div> </div> </div> </div> </div> </div> <div class="mega-menu"> <div class="grid-container"> <div class="grid-x"> <div class="cell large-auto"> <h4>State Parks</h4> <ul class="grid-x"> <li class="cell large-4"> <a href="https://wvstateparks.com/park/audra-state-park/">Audra </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/babcock-state-park/">Babcock </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/beartown-state-park/">Beartown </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/beech-fork-state-park/">Beech Fork </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/berkeley-springs-state-park/">Berkeley Springs </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/blackwater-falls-state-park/">Blackwater Falls </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/blennerhassett-island-historical-state-park/">Blennerhassett Island </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/bluestone-state-park/">Bluestone </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/cacapon-resort-state-park/">Cacapon </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/camp-creek-state-park/">Camp Creek and Forest</a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/canaan-valley-resort-state-park/">Canaan Valley </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/carnifex-ferry-battlefield-state-park/">Carnifex Ferry Battlefield </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/cass-scenic-railroad-state-park/">Cass Scenic Railroad </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/cathedral-state-park/">Cathedral </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/cedar-creek-state-park/">Cedar Creek </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/chief-logan-state-park/">Chief Logan </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/droop-mountain-battlefield-state-park/">Droop Mountain Battlefield </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/fairfax-stone-state-park/">Fairfax Stone </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/hawks-nest-state-park/">Hawks Nest </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/holly-river-state-park/">Holly River </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/little-beaver-state-park/">Little Beaver </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/lost-river-state-park/">Lost River </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/moncove-lake-state-park/">Moncove Lake </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/north-bend-state-park/">North Bend </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/pinnacle-rock-state-park/">Pinnacle Rock </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/pipestem-resort-state-park/">Pipestem </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/pricketts-fort-state-park/">Prickett's Fort </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/stonewall-resort-state-park/">Stonewall </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/summersville">Summersville Lake </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/tomlinson-run-state-park/">Tomlinson Run </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/tu-endie-wei-state-park/">Tu-Endie-Wei </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/twin-falls-resort-state-park/">Twin Falls </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/tygart-lake-state-park/">Tygart Lake </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/valley-falls-state-park/">Valley Falls </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/watoga-state-park/">Watoga </a> </li> <li class="cell large-4"> <a href="https://wvstateparks.com/park/watters-smith-memorial-state-park/">Watters Smith </a> </li> </ul> </div> <div class="cell large-shrink"> <h4 class="forest">State Forests</h4> <ul> <li> <a href="https://wvstateparks.com/park/cabwaylingo-state-forest/">Cabwaylingo </a> </li> <li> <a href="https://wvstateparks.com/park/calvin-price-state-forest/">Calvin Price </a> </li> <li> <a href="https://wvstateparks.com/park/coopers-rock-state-forest/">Coopers Rock </a> </li> <li> <a href="https://wvstateparks.com/park/greenbrier-state-forest/">Greenbrier </a> </li> <li> <a href="https://wvstateparks.com/park/kanawha-state-forest/">Kanawha </a> </li> <li> <a href="https://wvstateparks.com/park/kumbrabow-state-forest/">Kumbrabow </a> </li> <li> <a href="https://wvstateparks.com/park/panther-state-forest/">Panther </a> </li> <li> <a href="https://wvstateparks.com/park/seneca-state-forest/">Seneca </a> </li> </ul> <h4 class="other">Rail Trails</h4> <ul> <li> <a href="https://wvstateparks.com/park/elk-river-trail/">Elk River Trail</a> </li> <li> <a href="https://wvstateparks.com/park/greenbrier-river-trail/">Greenbrier River Trail</a> </li> <li> <a href="https://wvstateparks.com/park/north-bend-rail-trail/">North Bend Rail Trail</a> </li> </ul> </div> </div> </div> </div> </header> <style> .hero-cta-banner { font-size: 18px; text-align: center; position: relative; top: 15px; background: #EEB52C; display: block; text-decoration: none; text-shadow: 0 0 0; padding: 15px; border-radius: 3px; } .hero-cta-banner__text__icon { border-radius: 100px; background: rgba(0, 0, 0, .3); color: #FFF; text-align: center; height: 39px; width: 39px; line-height: 39px; font-weight: 900; margin: 0 auto; margin-bottom: 7px; } .page.page-id-8843 .header_alert, .page.page-id-8817 .header_alert, .page.page-id-8268 .header_alert { display: none !important; } .hero-cta-banner__button { padding: 7px 10px; text-transform: uppercase; font-weight: 900; color: #2E5F63; background: #FFF; display: inline-block; border-radius: 100px; } .hero-cta-banner__text__text { color: #422E00; text-decoration: none; font-weight: 900; margin-bottom: 7px; margin-top: 7px; } .hero-cta-banner__button svg { fill: #2E5F63; width: 18px; height: auto; margin-left: 10px; vertical-align: middle; } div.pattern-wrap.pattern-wrap--light-orange { text-align: center; } div.pattern-wrap.pattern-wrap--light-orange a.button{ display: inline-block; margin: 20px auto; } /* .hero.hero--home .Vidage__video{ display: none; } */ /* Pipestem */ .hero.hero--video{ min-height: 20px !important; } .hero.hero--video h1{ font-size: 35px !important; } .hero--video video{ width: 100%; height: auto; } .hero--video .hero__content--weather{ display: none !important; } html body.page-template-template-page-home .hero.hero--home{ padding-top: 0px !important; min-height: 10px; } .hero.hero--home .Vidage__video{ width: 100%; height: auto; position: relative !important; transform: none !important; top: 0px !important; left: 0px !important; } @media only screen and (min-width: 400px) { /* Pipestem */ .hero.hero--video h1{ font-size: 40px !important; } } @media only screen and (min-width: 600px) { /* Pipestem */ .hero.hero--video h1{ font-size: 45px !important; } .hero--video .hero__content--weather{ display: block !important; } } @media only screen and (max-width: 1023px) { /* Pipestem */ html body.home .hero.hero--home{ background-image: url(" https://wvstateparks.com/wp-content/uploads/2017/04/CathedralStatePark7-2011-sjs-02-1920x1200.jpg ") !important; } } @media only screen and (min-width: 1024px) { div.pattern-wrap.pattern-wrap--light-orange { display: none; } .hero-cta-banner { line-height: 45px; border-radius: 100px; text-align: left; padding: 0; } .hero-cta-banner__button { position: absolute; right: 0; top: 0; bottom: 0; border-radius: 0 100px 100px 0; padding: 0 25px; } .hero-cta-banner__text__icon { float: left; margin-right: 10px; margin-top: 3px; margin-left: 3px; margin-bottom: 0; } .hero-cta-banner__text__text { margin: 0; } .hero.hero--home .Vidage__video{ display: block; } html body.home .hero.hero--home{ background-image: none !important; } } .quick-jump-button { position: relative; z-index: 1; padding: 11px 15px; color: #6f794e; cursor: pointer; } .quick-jump-button.open { background: #fbfbf8; color: #e48a75; } .quick-jump-button > .park-quick-nav { position: absolute; top: 100%; right: 0; display: none; } .quick-jump-button > .park-quick-nav .grid-container.fluid { width: 250px; text-align: left; background: #fbfbf8; } .quick-jump-button > .park-quick-nav .quick-nav-jump-item a { padding: 7px; } .quick-jump-button > .park-quick-nav .quick-nav__park { padding: 7px; } .quick-jump-button.open > .park-quick-nav { display: block; } </style> <div class="hide-for-medium"> <div class="grid-container"> <div class="grid-x align-middle"> <div class="cell auto"> <div class="park_pick_drop"><select onchange="window.openPark(this)" name="supplierid"><option value="0">Search All Parks</option><option value="https://wvstateparks.com/park/audra-state-park/">Audra State Park</option><option value="https://wvstateparks.com/park/babcock-state-park/">Babcock State Park</option><option value="https://wvstateparks.com/park/beartown-state-park/">Beartown State Park</option><option value="https://wvstateparks.com/park/beech-fork-state-park/">Beech Fork State Park</option><option value="https://wvstateparks.com/park/berkeley-springs-state-park/">Berkeley Springs State Park</option><option value="https://wvstateparks.com/park/blackwater-falls-state-park/">Blackwater Falls State Park</option><option value="https://wvstateparks.com/park/blennerhassett-island-historical-state-park/">Blennerhassett Island Historical State Park</option><option value="https://wvstateparks.com/park/bluestone-state-park/">Bluestone State Park</option><option value="https://wvstateparks.com/park/cabwaylingo-state-forest/">Cabwaylingo State Forest</option><option value="https://wvstateparks.com/park/cacapon-resort-state-park/">Cacapon Resort State Park</option><option value="https://wvstateparks.com/park/calvin-price-state-forest/">Calvin Price State Forest</option><option value="https://wvstateparks.com/park/camp-creek-state-park/">Camp Creek State Park and Forest</option><option value="https://wvstateparks.com/park/canaan-valley-resort-state-park/">Canaan Valley Resort State Park</option><option value="https://wvstateparks.com/park/carnifex-ferry-battlefield-state-park/">Carnifex Ferry Battlefield State Park</option><option value="https://wvstateparks.com/park/cass-scenic-railroad-state-park/">Cass Scenic Railroad State Park</option><option value="https://wvstateparks.com/park/cathedral-state-park/">Cathedral State Park</option><option value="https://wvstateparks.com/park/cedar-creek-state-park/">Cedar Creek State Park</option><option value="https://wvstateparks.com/park/chief-logan-state-park/">Chief Logan State Park</option><option value="https://wvstateparks.com/park/coopers-rock-state-forest/">Coopers Rock State Forest</option><option value="https://wvstateparks.com/park/droop-mountain-battlefield-state-park/">Droop Mountain Battlefield State Park</option><option value="https://wvstateparks.com/park/elk-river-trail/">Elk River Trail</option><option value="https://wvstateparks.com/park/fairfax-stone-state-park/">Fairfax Stone State Park</option><option value="https://wvstateparks.com/park/greenbrier-river-trail/">Greenbrier River Trail</option><option value="https://wvstateparks.com/park/greenbrier-state-forest/">Greenbrier State Forest</option><option value="https://wvstateparks.com/park/hawks-nest-state-park/">Hawks Nest State Park</option><option value="https://wvstateparks.com/park/holly-river-state-park/">Holly River State Park</option><option value="https://wvstateparks.com/park/kanawha-state-forest/">Kanawha State Forest</option><option value="https://wvstateparks.com/park/kumbrabow-state-forest/">Kumbrabow State Forest</option><option value="https://wvstateparks.com/park/little-beaver-state-park/">Little Beaver State Park</option><option value="https://wvstateparks.com/park/lost-river-state-park/">Lost River State Park</option><option value="https://wvstateparks.com/park/moncove-lake-state-park/">Moncove Lake State Park</option><option value="https://wvstateparks.com/park/north-bend-rail-trail/">North Bend Rail Trail</option><option value="https://wvstateparks.com/park/north-bend-state-park/">North Bend State Park</option><option value="https://wvstateparks.com/park/panther-state-forest/">Panther State Forest</option><option value="https://wvstateparks.com/park/pinnacle-rock-state-park/">Pinnacle Rock State Park</option><option value="https://wvstateparks.com/park/pipestem-resort-state-park/">Pipestem Resort State Park</option><option value="https://wvstateparks.com/park/pricketts-fort-state-park/">Prickett's Fort State Park</option><option value="https://wvstateparks.com/park/seneca-state-forest/">Seneca State Forest</option><option value="https://wvstateparks.com/park/stonewall-resort-state-park/">Stonewall Resort State Park</option><option value="https://wvstateparks.com/summersville">Summersville Lake State Park</option><option value="https://wvstateparks.com/park/tomlinson-run-state-park/">Tomlinson Run State Park</option><option value="https://wvstateparks.com/park/tu-endie-wei-state-park/">Tu-Endie-Wei State Park</option><option value="https://wvstateparks.com/park/twin-falls-resort-state-park/">Twin Falls Resort State Park</option><option value="https://wvstateparks.com/park/tygart-lake-state-park/">Tygart Lake State Park</option><option value="https://wvstateparks.com/park/valley-falls-state-park/">Valley Falls State Park</option><option value="https://wvstateparks.com/park/watoga-state-park/">Watoga State Park</option><option value="https://wvstateparks.com/park/watters-smith-memorial-state-park/">Watters Smith Memorial State Park</option></select><i class="fal fa-chevron-down"></i></div> </div> </div> </div> </div> <div class="hero hero--default" style="background-image: url( https://wvstateparks.com/wp-content/uploads/2017/04/CathedralStatePark7-2011-sjs-02-1920x1200.jpg );"> <div class="hero__content"> <div class="grid-container"> </div> </div> </div> <section id="content" role="main" class="content-wrapper"> <style> .wpcf7-not-valid { border: red solid 2px !important; } </style> <div class="content content--interior content--interior--post pattern-wrap pattern-wrap--white"> <!-- container--content__sidebar = sidebar class --> <div class="container container--content without-sidebar clear"> <div class="wrapper wrapper--content"> <div class="col col--body" id="important"> <div class="content-body" itemprop="articleBody"> <div class="content-heading clear"> <div class="content-title"> <h1 itemprop="headline">Green Initiative</h1> </div> </div> <p>The West Virginia State Parks system’s mission statement is “to promote conservation by preserving and protecting natural areas of unique or exceptional scenic, scientific, cultural, archaeological, or historical significance and to provide outdoor recreational opportunities for the citizens of this state and its visitors.” The parks system upholds their mission by adopting policies that better the environment. Some of these policies include, installing more efficient LED lights at all park facilities, providing recycling programs for guests and discontinuing the use of styrofoam products.</p> <p>West Virginia State Parks also provides electric vehicle charging stations at <a href="/park/blackwater-falls-state-park/">Blackwater Falls</a>, <a href="/park/cacapon-resort-state-park/">Cacapon</a>, <a href="/park/canaan-valley-resort-state-park/">Canaan Valley</a>, <a href="/park/chief-logan-state-park/">Chief Logan</a>, <a href="/park/hawks-nest-state-park/">Hawks Nest</a>, <a href="/park/pipestem-resort-state-park/">Pipestem</a>, <a href="/park/stonewall-resort-state-park/">Stonewall</a>, <a href="/park/twin-falls-resort-state-park/">Twin Falls</a> and <a href="/park/tygart-lake-state-park/">Tygart Lake</a>. These stations allow guests with electronically powered cars to recharge while they enjoy their stay. There is no fee for charging an electronic car at a state park.</p> </div> </div> </div> </div> </div> <!-- Check for featured content --> </section> <style> .content--interior .col--body .align-center p{ text-align: center; } .page-id-12962 .has-5-columns .wp-block-column p, .page-id-12950 .has-5-columns .wp-block-column p, .page-id-12953 .has-5-columns .wp-block-column p, .page-id-12960 .has-5-columns .wp-block-column p, .page-id-12964 .has-5-columns .wp-block-column p, .page-id-12967 .has-5-columns .wp-block-column p, .page-id-12957 .has-5-columns .wp-block-column p, .page-id-12971 .has-5-columns .wp-block-column p{ padding-top: 5px; margin-top: 5px; border-top: 2px solid #eee; } .page-id-12962 .wp-block-column p em, .page-id-12950 .wp-block-column p em, .page-id-12953 .wp-block-column p em, .page-id-12960 .wp-block-column p em, .page-id-12964 .wp-block-column p em, .page-id-12967 .wp-block-column p em, .page-id-12971 .wp-block-column p em, .page-id-12957 .wp-block-column p em{ font-size: 15px; line-height: 1.4em; display: block; } .page-id-12962 .wp-block-column svg, .page-id-12962 .wp-block-column h2, .page-id-12950 .wp-block-column svg, .page-id-12950 .wp-block-column h2, .page-id-12953 .wp-block-column svg, .page-id-12953 .wp-block-column h2, .page-id-12960 .wp-block-column svg, .page-id-12960 .wp-block-column h2, .page-id-12964 .wp-block-column svg, .page-id-12964 .wp-block-column h2, .page-id-12967 .wp-block-column svg, .page-id-12967 .wp-block-column h2, .page-id-12971 .wp-block-column svg, .page-id-12971 .wp-block-column h2, .page-id-12957 .wp-block-column svg, .page-id-12957 .wp-block-column h2{ display: inline-block; vertical-align: middle; padding-bottom: 0px; } .page-id-12962 .wp-block-column h2, .page-id-12950 .wp-block-column h2, .page-id-12953 .wp-block-column h2, .page-id-12960 .wp-block-column h2, .page-id-12964 .wp-block-column h2, .page-id-12967 .wp-block-column h2, .page-id-12971 .wp-block-column h2, .page-id-12957 .wp-block-column h2{ font-size: 18px !important; padding-left: 5px; margin: 0; font-family: gotham,sans-serif; color: #54564a; font-weight: 900; } .page-id-12962 .wp-block-column svg *, .page-id-12950 .wp-block-column svg *, .page-id-12953 .wp-block-column svg *, .page-id-12960 .wp-block-column svg *, .page-id-12964 .wp-block-column svg *, .page-id-12967 .wp-block-column svg *, .page-id-12971 .wp-block-column svg *, .page-id-12957 .wp-block-column svg *{ fill: #6f794e!important; } .wpcf7 .wpcf7-list-item{ padding: 10px; } .wpcf7 .wpcf7-list-item span{ margin: 0px 10px; } .wpcf7 .wpcf7-checkbox label span{ margin-left: 10px; } #footer-resv{ position: relative; z-index: 999999; } div.ctct-form-defaults{ padding: 0px; } form.ctct-form-custom{ max-width: 768px; font-family: asap,sans-serif; } p.ctct-gdpr-text, .ctct-form-text{ color: #fff !important; font-weight: 700; } .ctct-form-text{ font-size: 12px; } .ctct-form-embed.form_0 .ctct-form-defaults{ background: transparent; } input.ctct-form-element{ border-radius: 40px !important; color:#2f5f63; } .ctct-form-embed.form_0 .ctct-form-custom .ctct-form-button{ border-radius: 40px; color: #fff; background: #2f5f63; text-align: center; text-transform: uppercase; font-weight: 900; } .ctct-form-embed.form_0 .ctct-form-custom .ctct-form-button:hover{ text-transform: uppercase !important; } .newsletter-signup input[type="text"] { border-radius: 100px; border: 0; height: 55px; padding: 10px 15px; } .newsletter-signup .styled-form h3 { display: none; } .newsletter-signup .styled-form div[id^="rowcontainer_contact"] { padding: 15px; } @media screen and (min-width: 900px) { .newsletter-signup .styled-form div[id^="rowcontainer_contact"] { display: inline-block; width: 45%; } .newsletter-signup .styled-form div[id^="rowcontainer_contact"] input{ width: 100%; max-width: 320px; } #contact_sendemail{ width: auto; max-width: 20px; } } .newsletter-signup .styled-form div[id^="rowcontainer_contact"] label { margin-bottom: 7px; display: inline-block; } .newsletter-signup .styled-form #rowcontainer_contact_sendemail { width: 100%; display: block; } .newsletter-signup .styled-form #fieldcontainer_contact_sendemail label { display: inline; } .newsletter-signup .styled-form hr { opacity: .2; background: black; height: 1px; border: 0; } .newsletter-signup .styled-form .hint { color: rgba(0, 0, 0, .7); font-size: 15px; display: block; padding-top: 7px; padding-bottom: 10px; } .newsletter-signup .styled-form input[type="submit"], .newsletter-signup .styled-form input[type="reset"] { cursor: pointer; display: inline-block; color: #fff; background: rgba(0, 0, 0, .7); text-align: center; padding: 15px 30px; border-radius: 40rem; text-decoration: none; text-transform: uppercase; font-weight: bold; font-size: 20px; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; -webkit-appearance: none; -moz-appearance: none; -ms-appearance: none; -o-appearance: none; appearance: none; -webkit-transition: all 0.2s ease; transition: all 0.2s ease; margin-top: 30px; color: white; border: 0; } #fieldcontainer_contact_sendemail *[for="contact_sendemail"]{ display: none !important; } .footer-accent { width: 100%; text-align: center; overflow: hidden; padding-top: 50px; position: relative; } .footer-accent__wrap { position: absolute; left: 50%; transform: translateX(-50%) scale(.3); } .footer-accent__left, .footer-accent__right { background: url(/wp-content/themes/wv-state-parks/img/almost-heaven-line.svg) bottom left repeat-x; position: absolute; bottom: 0; } .footer-accent__text { background: url(/wp-content/themes/wv-state-parks/img/almost-heaven.svg) bottom left no-repeat; width: 991px; } .footer-accent__right { left: 100%; right: -5000px; } .footer-accent__wrap > div { height: 88px; } .footer-accent__left { right: 100%; left: -5000px; } @media only screen and (min-width: 960px) { .footer-accent .wrapper { height: 81px; } } @media only screen and (min-width: 960px) { .footer-accent__wrap { transform: translateX(-50%) scale(.5); } } .footer-accent-new { text-align: center; padding-top: 40px; } .footer-accent-new-text { position: relative; display: inline-block; } .footer-accent-new-left, .footer-accent-new-right { position: absolute; bottom: 0; background: url(/wp-content/themes/wv-state-parks/img/almost-heaven-line.png) bottom left repeat-x; height: 44px; width: 100vw; background-size: 7px 44px; vertical-align: top; } .footer-accent-new-left { right: 100%; } .footer-accent-new-right { left: 100%; } .footer-accent-new img { height: 44px; vertical-align: top; } .script{ background-image: url("/wp-content/themes/wv-state-parks/img/West_Virginia_Logos_BrandScript_Final-Center-White-01.svg"); height: 25px; margin: 70px 0 10px; background-position: center center; background-size: cover; background-repeat: no-repeat; width: 100%; } @media only screen and (min-width: 1400px) { .script{ height: 35px; } } </style> <footer class="footer"> <div class="grid-container"> <div class="grid-x"> <div class="cell small-12 large-4"> <div class="logo"> <a class="logo__link" href="https://wvstateparks.com" rel="home"> <img decoding="async" width="250" height="126" class="logo__link__image lazyload" data-src="/wp-content/themes/wv-state-parks/img/footer-logo-1.svg" /> </a> <div class="social-list"> <ul class="header-social"><li class="header-social__item"><a class="facebook" target="_blank" rel="noopener noreferrer" href="https://facebook.com/wvstateparks"><svg xmlns="http://www.w3.org/2000/svg" id="icon-facebook" viewBox="0 0 16 28"> <title>facebook</title> <path class="path1" d="M14.984 0.187v4.125h-2.453c-1.922 0-2.281 0.922-2.281 2.25v2.953h4.578l-0.609 4.625h-3.969v11.859h-4.781v-11.859h-3.984v-4.625h3.984v-3.406c0-3.953 2.422-6.109 5.953-6.109 1.687 0 3.141 0.125 3.563 0.187z"></path> </svg></a></li><li class="header-social__item"><a class="twitter" target="_blank" rel="noopener noreferrer" href="https://twitter.com/wvstateparks"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"/></svg></a></li><li class="header-social__item"><a class="instagram" target="_blank" rel="noopener noreferrer" href="https://instagram.com/wvstateparks"><svg xmlns="http://www.w3.org/2000/svg" id="icon-instagram" viewBox="0 0 24 28"> <title>instagram</title> <path class="path1" d="M16 14c0-2.203-1.797-4-4-4s-4 1.797-4 4 1.797 4 4 4 4-1.797 4-4zM18.156 14c0 3.406-2.75 6.156-6.156 6.156s-6.156-2.75-6.156-6.156 2.75-6.156 6.156-6.156 6.156 2.75 6.156 6.156zM19.844 7.594c0 0.797-0.641 1.437-1.437 1.437s-1.437-0.641-1.437-1.437 0.641-1.437 1.437-1.437 1.437 0.641 1.437 1.437zM12 4.156c-1.75 0-5.5-0.141-7.078 0.484-0.547 0.219-0.953 0.484-1.375 0.906s-0.688 0.828-0.906 1.375c-0.625 1.578-0.484 5.328-0.484 7.078s-0.141 5.5 0.484 7.078c0.219 0.547 0.484 0.953 0.906 1.375s0.828 0.688 1.375 0.906c1.578 0.625 5.328 0.484 7.078 0.484s5.5 0.141 7.078-0.484c0.547-0.219 0.953-0.484 1.375-0.906s0.688-0.828 0.906-1.375c0.625-1.578 0.484-5.328 0.484-7.078s0.141-5.5-0.484-7.078c-0.219-0.547-0.484-0.953-0.906-1.375s-0.828-0.688-1.375-0.906c-1.578-0.625-5.328-0.484-7.078-0.484zM24 14c0 1.656 0.016 3.297-0.078 4.953-0.094 1.922-0.531 3.625-1.937 5.031s-3.109 1.844-5.031 1.937c-1.656 0.094-3.297 0.078-4.953 0.078s-3.297 0.016-4.953-0.078c-1.922-0.094-3.625-0.531-5.031-1.937s-1.844-3.109-1.937-5.031c-0.094-1.656-0.078-3.297-0.078-4.953s-0.016-3.297 0.078-4.953c0.094-1.922 0.531-3.625 1.937-5.031s3.109-1.844 5.031-1.937c1.656-0.094 3.297-0.078 4.953-0.078s3.297-0.016 4.953 0.078c1.922 0.094 3.625 0.531 5.031 1.937s1.844 3.109 1.937 5.031c0.094 1.656 0.078 3.297 0.078 4.953z"></path> </svg></a></li><li class="header-social__item"><a class="youtube" target="_blank" rel="noopener noreferrer" href="https://youtube.com/channel/UCdqftLMxbOD50tLjtXl0NHQ"><svg xmlns="http://www.w3.org/2000/svg" id="icon-youtube-play" viewBox="0 0 28 28"> <title>youtube-play</title> <path class="path1" d="M11.109 17.625l7.562-3.906-7.562-3.953v7.859zM14 4.156c5.891 0 9.797 0.281 9.797 0.281 0.547 0.063 1.75 0.063 2.812 1.188 0 0 0.859 0.844 1.109 2.781 0.297 2.266 0.281 4.531 0.281 4.531v2.125s0.016 2.266-0.281 4.531c-0.25 1.922-1.109 2.781-1.109 2.781-1.062 1.109-2.266 1.109-2.812 1.172 0 0-3.906 0.297-9.797 0.297v0c-7.281-0.063-9.516-0.281-9.516-0.281-0.625-0.109-2.031-0.078-3.094-1.188 0 0-0.859-0.859-1.109-2.781-0.297-2.266-0.281-4.531-0.281-4.531v-2.125s-0.016-2.266 0.281-4.531c0.25-1.937 1.109-2.781 1.109-2.781 1.062-1.125 2.266-1.125 2.812-1.188 0 0 3.906-0.281 9.797-0.281v0z"></path> </svg></a></li></ul> </div> </div> </div> <div class="cell small-12 medium-6 large-4 middle-links"> <a href="/rules-and-regulations/"> <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M3 0c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1zm-1.5 2.5c-.83 0-1.5.67-1.5 1.5h1c0-.28.22-.5.5-.5s.5.22.5.5-1 1.64-1 2.5c0 .86.67 1.5 1.5 1.5s1.5-.67 1.5-1.5h-1c0 .28-.22.5-.5.5s-.5-.22-.5-.5c0-.36 1-1.84 1-2.5 0-.81-.67-1.5-1.5-1.5z" transform="translate(2)" /> </svg> <span>Rules and Regulations</span> </a> <a href="/newsroom"> <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M.5 0c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm1.5 0v1h6v-1h-6zm-1.5 2c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm1.5 0v1h6v-1h-6zm-1.5 2c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm1.5 0v1h6v-1h-6zm-1.5 2c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5zm1.5 0v1h6v-1h-6z" /> </svg> <span>Newsroom</span> </a> <a href="/contact/#park7680"> <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M4 0l-4 2v6h8v-6l-4-2zm0 1.13l3 1.5v1.88l-3 1.5-3-1.5v-1.88l3-1.5zm-2 1.88v1l2 1 2-1v-1h-4z" /> </svg> <span>Contact</span> </a> <a href="https://shopwvstateparks.com/"> <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M.25 0c-.14 0-.25.11-.25.25v.75h8v-.75c0-.14-.11-.25-.25-.25h-7.5zm-.25 2v3.75c0 .14.11.25.25.25h7.5c.14 0 .25-.11.25-.25v-3.75h-8zm1 2h1v1h-1v-1zm2 0h1v1h-1v-1z" transform="translate(0 1)" /> </svg> <span>Merchandise</span> </a> <a href="/deals"> <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M1 0c-.07 0-.13.01-.19.03-.39.08-.7.39-.78.78-.03.06-.03.12-.03.19v5.5c0 .83.67 1.5 1.5 1.5h5.5v-1h-5.5c-.28 0-.5-.22-.5-.5s.22-.5.5-.5h5.5v-5.5c0-.28-.22-.5-.5-.5h-.5v3l-1-1-1 1v-3h-3z" /> </svg> <span>Deals</span> </a> <a href="/careers"> <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M6.41 0l-.69.72-2.78 2.78-.81-.78-.72-.72-1.41 1.41.72.72 1.5 1.5.69.72.72-.72 3.5-3.5.72-.72-1.44-1.41z" transform="translate(0 1)" /> </svg> <span>Careers</span> </a> <a href="/accessible-travel"> <svg aria-hidden="true" focusable="false" data-prefix="fas" data-icon="wheelchair" class="svg-inline--fa fa-wheelchair fa-w-16" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M496.101 385.669l14.227 28.663c3.929 7.915.697 17.516-7.218 21.445l-65.465 32.886c-16.049 7.967-35.556 1.194-43.189-15.055L331.679 320H192c-15.925 0-29.426-11.71-31.679-27.475C126.433 55.308 128.38 70.044 128 64c0-36.358 30.318-65.635 67.052-63.929 33.271 1.545 60.048 28.905 60.925 62.201.868 32.933-23.152 60.423-54.608 65.039l4.67 32.69H336c8.837 0 16 7.163 16 16v32c0 8.837-7.163 16-16 16H215.182l4.572 32H352a32 32 0 0 1 28.962 18.392L438.477 396.8l36.178-18.349c7.915-3.929 17.517-.697 21.446 7.218zM311.358 352h-24.506c-7.788 54.204-54.528 96-110.852 96-61.757 0-112-50.243-112-112 0-41.505 22.694-77.809 56.324-97.156-3.712-25.965-6.844-47.86-9.488-66.333C45.956 198.464 0 261.963 0 336c0 97.047 78.953 176 176 176 71.87 0 133.806-43.308 161.11-105.192L311.358 352z"></path></svg> <span>Accessible Travel</span> </a> <a href="/bids-and-procurement/"> <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M3 0c-.55 0-1 .45-1 1v1h-1.91c-.06 0-.09.04-.09.09v2.41c0 .28.22.5.5.5h7c.28 0 .5-.22.5-.5v-2.41c0-.06-.04-.09-.09-.09h-1.91v-1c0-.55-.45-1-1-1h-2zm0 1h2v1h-2v-1zm-3 4.91v2c0 .05.04.09.09.09h7.81c.05 0 .09-.04.09-.09v-2c-.16.06-.32.09-.5.09h-7c-.18 0-.34-.04-.5-.09z" /> </svg> <span>Bids & Procurement</span> </a> </div> <div class="cell small-12 medium-6 large-4 end-links"> <a href="tel:1-833-WV-PARKS" class="tel-link"> <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M.19 0c-.11 0-.19.08-.19.19v7.63c0 .11.08.19.19.19h4.63c.11 0 .19-.08.19-.19v-7.63c0-.11-.08-.19-.19-.19h-4.63zm.81 1h3v5h-3v-5zm1.5 5.5c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5z" transform="translate(1)" /> </svg> <span>1-833-WV-PARKS</span> </a> <a href="https://wvtourism.com" class="">West Virginia Department of Tourism</a> <a href="http://www.wvdnr.gov/" class="">West Virginia Division of Natural Resources</a> <a href="https://www.wonderfulwv.com/" class="">Wonderful West Virginia Magazine</a> <span class="copyright">Copyright © 2024 <strong>West Virginia State Parks</strong></span> </div> </div> </div> <div class="script"></div> <div class="footer--attached"> <style> .hide-me { display: none !important; } .opened { text-align: center !important; } .footer--attached__bottom .dropdown.open ul{ height: auto !important; max-height: 200px !important; } </style> <div class="inntopia-slide-form"> <div class="quick-find"> <script src="https://cdnjs.cloudflare.com/ajax/libs/air-datepicker/2.2.3/js/datepicker.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js?v2.29.1"></script> <script> function in_arrays(haystack, arr) { return arr.some(function (v) { return haystack.indexOf(v) >= 0; }); }; //console.log( jQuery(".main-form").serialize() ); $(document).ready(function(){ //Open dropdown on park picker $(".dropdown > span").click(function(){ var visibleParks = jQuery(".park-li:not(.hide-me)"); if( visibleParks.length > 2 ){ $(".select-dest-label").html("Scroll For More <i class='fal fa-angle-down' style='font-size: 0.73em;'></i>"); }else{ $(".select-dest-label").html("Select Destination"); } $(".select-dest-label").addClass("opened"); $(this).parent().addClass("open"); window.dropOpen = true; }); var parkID = ""; //Close dropdown on park picker $(document).mouseup(function(e) { $(".select-dest-label").removeClass("opened"); var container = $(".dropdown"); // if the target of the click isn't the container nor a descendant of the container if (!container.is(e.target) && container.has(e.target).length === 0) { container.removeClass("open"); } var park_checked = $(".dropdown ul li input:checked"); if( !park_checked.attr("id") ){ $(".select-dest-label").html("Select Destination"); }else{ var p = park_checked.parent(); $(".select-dest-label").html( p[0].textContent.trim() ); } }); //Park destination field for lodging var inputs = $(".dropdown ul li input"); var inputsChecked = $(".dropdown ul li input:checked"); $(".dropdown ul li input").change(function(){ var checkedItems = Array(); var dropdown = $(this).parent().parent().parent().parent(); var inputsChecked = dropdown.find("input:checked"); inputsChecked.each(function(){ checkedItems.push($(this).val()); var lastPicked = $(this).parent().find("strong").text(); dropdown.find("span").text(lastPicked); // if($(this).val()=="691"){ // // August 3, 2024 // jQuery('input[name="search_date"]').val("2024-08-03"); // jQuery('input[name="search_date_ui"]').val("08/03/2024"); // } // if($(this).val()=="693"){ // // August 16, 2024 // jQuery('input[name="search_date"]').val("2024-08-16"); // jQuery('input[name="search_date_ui"]').val("08/16/2024"); // } // if($(this).val()=="694"){ // // September 7, 2024 // jQuery('input[name="search_date"]').val("2024-09-07"); // jQuery('input[name="search_date_ui"]').val("09/07/2024"); // } // if($(this).val()=="779"){ // // September 14, 2024 // jQuery('input[name="search_date"]').val("2024-09-14"); // jQuery('input[name="search_date_ui"]').val("09/14/2024"); // } // if($(this).val()=="696"){ // // September 21, 2024 // jQuery('input[name="search_date"]').val("2024-09-21"); // jQuery('input[name="search_date_ui"]').val("09/21/2024"); // } // if($(this).val()=="694"){ // jQuery('input[name="search_date"]').val("2024-09-07"); // jQuery('input[name="search_date_ui"]').val("09/07/2024"); // } // // Tygart // if($(this).val()=="698"){ // // October 5, 2024 // jQuery('input[name="search_date"]').val("2024-10-05"); // jQuery('input[name="search_date_ui"]').val("10/05/2024"); // } // // Blackwater // if($(this).val()=="753"){ // // September 6, 2024 // jQuery('input[name="search_date"]').val("2024-09-06"); // jQuery('input[name="search_date_ui"]').val("09/06/2024"); // } // Canaan if($(this).val()=="758"){ // October 4, 2024 jQuery('input[name="search_date"]').val("2024-10-05"); jQuery('input[name="search_date_ui"]').val("10/05/2024"); } }); $(this).val(checkedItems.join(",")); var park_checked = $(".dropdown ul li input:checked"); if( !park_checked.attr("id") ){ $(".select-dest-label").html("Select Destination"); } // console.log("A"); }); $('input[name="search_date_ui"]').datepicker({ language: 'en', onSelect: function(formattedDate, date, inst){ var startDate = moment(date[0]); if(date[1]){ var endDate = moment(date[1]); var daysBetween = endDate.diff(startDate, 'days') // 1 $('input[name="search_nights"]').val(daysBetween); } $('input[name="search_date"]').val(startDate.format("YYYY-MM-DD")); } }); }); </script> <div class="footer--attached__bottom"> <div class="grid-container"> <!-- Lodging Form --> <form id="" class="lodging active main-form" data-num="1" method="get" action="https://reservations.wvstateparks.com/products/lodging" target="_blank"> <div class="grid-x grid-padding-x grid-padding-y align-left"> <div class="cell shrink"> <strong>I'm looking for:</strong> <label class="looking"> <select id="option-select" class="option-select"> <option id="lodge" class="lodge cabin" value="lodge" selected>Lodges & Cabins</option> <option id="camping" class="camping" value="camping">Camping</option> <option id="picnic-shelter" class="picnic-shelter" value="picnic-shelter">Picnic Shelter</option> <option id="zip-line" class="activity zip-line" value="zip-line">Zip Line</option> <option id="biking" class="activity biking" value="biking">Mountain Bike</option> <option id="rafting" class="activity rafting" value="rafting">Rafting</option> <!-- Hiding this option for now --> <option id="sledding" class="activity sledding" value="sledding">Sledding</option> <option id="dining" class="activity dining" value="dining">Dining</option> <option id="golf" class="activity golf" value="golf">Golf</option> <option id="elk" class="activity elk" value="elk">Elk Tours</option> <option id="adventure-lake" class="activity adventure-lake" value="adventure-lake">Adventure Lake</option> <option id="sternwheeler-rides" class="activity sternwheeler-rides" value="sternwheeler-rides">Sternwheeler Rides</option> <option id="museums-and-historical-sites" class="activity museums-and-historical-sites" value="museums-and-historical-sites">Museums & Historical Sites</option> <option id="other-activities" class="activity other-activities" value="other-activities">Other Activities</option> </select> </label> </div> <div class="cell auto"> <strong>Parks</strong> <div class="dropdown"> <ul> <li class="park-li hide-me all"> <label> <input class="park-select" id="all" type="checkbox" value="all" > <strong>Search All Parks</strong> </label> </li> <li class="park-li 750 hide-me"> <label> <input class=" park-select 750" id="750" type="checkbox" value="750" > <strong>Audra State Park </strong> </label> </li> <li class="park-li 751 hide-me"> <label> <input class=" park-select 751" id="751" type="checkbox" value="751" > <strong>Babcock State Park </strong> </label> </li> <li class="park-li 752 hide-me"> <label> <input class=" park-select 752" id="752" type="checkbox" value="752" > <strong>Beech Fork State Park </strong> </label> </li> <li class="park-li 753 hide-me"> <label> <input class=" park-select 753" id="753" type="checkbox" value="753" > <strong>Blackwater Falls State Park </strong> </label> </li> <li class="park-li 754 hide-me"> <label> <input class=" park-select 754" id="754" type="checkbox" value="754" > <strong>Blennerhassett Island Historical State Park </strong> </label> </li> <li class="park-li 755 hide-me"> <label> <input class=" park-select 755" id="755" type="checkbox" value="755" > <strong>Bluestone State Park </strong> </label> </li> <li class="park-li 756 hide-me"> <label> <input class=" park-select 756" id="756" type="checkbox" value="756" > <strong>Cabwaylingo State Forest </strong> </label> </li> <li class="park-li 691 hide-me"> <label> <input class=" park-select 691" id="691" type="checkbox" value="691" > <strong>Cacapon Resort State Park </strong> </label> </li> <li class="park-li 757 hide-me"> <label> <input class=" park-select 757" id="757" type="checkbox" value="757" > <strong>Camp Creek State Park and Forest </strong> </label> </li> <li class="park-li 758 hide-me"> <label> <input class=" park-select 758" id="758" type="checkbox" value="758" > <strong>Canaan Valley Resort State Park </strong> </label> </li> <li class="park-li 780 hide-me"> <label> <input class=" park-select 780" id="780" type="checkbox" value="780" > <strong>Carnifex Ferry Battlefield State Park </strong> </label> </li> <li class="park-li 760 hide-me"> <label> <input class=" park-select 760" id="760" type="checkbox" value="760" > <strong>Cass Scenic Railroad State Park </strong> </label> </li> <li class="park-li 761 hide-me"> <label> <input class=" park-select 761" id="761" type="checkbox" value="761" > <strong>Cathedral State Park </strong> </label> </li> <li class="park-li 762 hide-me"> <label> <input class=" park-select 762" id="762" type="checkbox" value="762" > <strong>Cedar Creek State Park </strong> </label> </li> <li class="park-li 693 hide-me"> <label> <input class=" park-select 693" id="693" type="checkbox" value="693" > <strong>Chief Logan State Park </strong> </label> </li> <li class="park-li 763 hide-me"> <label> <input class=" park-select 763" id="763" type="checkbox" value="763" > <strong>Coopers Rock State Forest </strong> </label> </li> <li class="park-li 764 hide-me"> <label> <input class=" park-select 764" id="764" type="checkbox" value="764" > <strong>Droop Mountain Battlefield State Park </strong> </label> </li> <li class="park-li 765 hide-me"> <label> <input class=" park-select 765" id="765" type="checkbox" value="765" > <strong>Greenbrier State Forest </strong> </label> </li> <li class="park-li 694 hide-me"> <label> <input class=" park-select 694" id="694" type="checkbox" value="694" > <strong>Hawks Nest State Park </strong> </label> </li> <li class="park-li 766 hide-me"> <label> <input class=" park-select 766" id="766" type="checkbox" value="766" > <strong>Holly River State Park </strong> </label> </li> <li class="park-li 767 hide-me"> <label> <input class=" park-select 767" id="767" type="checkbox" value="767" > <strong>Kanawha State Forest </strong> </label> </li> <li class="park-li 768 hide-me"> <label> <input class=" park-select 768" id="768" type="checkbox" value="768" > <strong>Kumbrabow State Forest </strong> </label> </li> <li class="park-li 769 hide-me"> <label> <input class=" park-select 769" id="769" type="checkbox" value="769" > <strong>Little Beaver State Park </strong> </label> </li> <li class="park-li 770 hide-me"> <label> <input class=" park-select 770" id="770" type="checkbox" value="770" > <strong>Lost River State Park </strong> </label> </li> <li class="park-li 771 hide-me"> <label> <input class=" park-select 771" id="771" type="checkbox" value="771" > <strong>Moncove Lake State Park </strong> </label> </li> <li class="park-li 695 hide-me"> <label> <input class=" park-select 695" id="695" type="checkbox" value="695" > <strong>North Bend Rail Trail </strong> </label> </li> <li class="park-li 779 hide-me"> <label> <input class=" park-select 779" id="779" type="checkbox" value="779" > <strong>North Bend State Park </strong> </label> </li> <li class="park-li 772 hide-me"> <label> <input class=" park-select 772" id="772" type="checkbox" value="772" > <strong>Panther State Forest </strong> </label> </li> <li class="park-li 773 hide-me"> <label> <input class=" park-select 773" id="773" type="checkbox" value="773" > <strong>Pinnacle Rock State Park </strong> </label> </li> <li class="park-li 696 hide-me"> <label> <input class=" park-select 696" id="696" type="checkbox" value="696" > <strong>Pipestem Resort State Park </strong> </label> </li> <li class="park-li 774 hide-me"> <label> <input class=" park-select 774" id="774" type="checkbox" value="774" > <strong>Seneca State Forest </strong> </label> </li> <li class="park-li 775 hide-me"> <label> <input class=" park-select 775" id="775" type="checkbox" value="775" > <strong>Tomlinson Run State Park </strong> </label> </li> <li class="park-li 697 hide-me"> <label> <input class=" park-select 697" id="697" type="checkbox" value="697" > <strong>Twin Falls Resort State Park </strong> </label> </li> <li class="park-li 698 hide-me"> <label> <input class=" park-select 698" id="698" type="checkbox" value="698" > <strong>Tygart Lake State Park </strong> </label> </li> <li class="park-li 776 hide-me"> <label> <input class=" park-select 776" id="776" type="checkbox" value="776" > <strong>Valley Falls State Park </strong> </label> </li> <li class="park-li 777 hide-me"> <label> <input class=" park-select 777" id="777" type="checkbox" value="777" > <strong>Watoga State Park </strong> </label> </li> <li class="park-li 778 hide-me"> <label> <input class=" park-select 778" id="778" type="checkbox" value="778" > <strong>Watters Smith Memorial State Park </strong> </label> </li> </ul> <span class="select-dest-label">Select Destination</span> </div> <input class="s_dest_id" id="s_dest_id" type="hidden" name="s_dest_id" value="0"> </div> <div class="cell shrink calendar-select"> <strong>Arrival Date</strong> <input autocomplete="off" class="datepicker-here" data-range="true" data-position='top left' data-language='en' type="text" readonly="true" name="search_date_ui"> <input type="hidden" name="search_date" value="2024-11-30"> <input type="hidden" name="search_nights" value="2"> </div> <div class="cell shrink"> <input id="main-submit" class="main-submit" type="submit" value="View Rates"> </div> <div class="cell shrink deals-button-div"> <div class="deals-button"> <a href="/wvsp-newsletter"> <span>Sign Up For Deals</span> </a> </div> </div> </div> </form> <script> //Carnifex Ferry Battlefield State Park is showing an ID of 780 in the booking site // WVSP has it as 759 jQuery(document).ready(function(){ if(!window.parkID){ jQuery(".option-select").trigger("change"); } }); var parks_meta = {"750":["boating","camping","camping-activities","fishing","geocaching","hiking","mountain-lakes","picnic-shelter","swimming"],"751":["boating","cabin","camping","camping-activities","fishing","geocaching","hiking","hunting","lodging","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter"],"752":["boating","cabin","camping","camping-activities","fishing","geocaching","golf","hiking","hunting","metro-valley","picnic-shelter","swimming"],"753":["boating","cabin","camping","camping-activities","fishing","geocaching","golf","hiking","hunting","lodge","outdoor-adventures","picnic-shelter","potomac-highlands","scenic-train-rides","sledding","snow-sports","swimming"],"754":["camping-activities","fishing","hiking","mid-ohio-valley","museums-historical-sites","picnic-shelter"],"755":["boating","cabin","camping","camping-activities","fishing","golf","hiking","hunting","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter","snow-sports","swimming"],"756":["atv","cabin","camping","camping-activities","fishing","hatfield-mccoy-mountains","hiking","hunting","museums-historical-sites","outdoor-adventures","picnic-shelter"],"691":["cabin","camping-activities","eastern-panhandle","fishing","geocaching","golf","hiking","horseback-riding","hunting","lodge","museums-historical-sites","outdoor-adventures","picnic-shelter","swimming","unique-stays"],"757":["cabin","camping","camping-activities","fishing","geocaching","hiking","horseback-riding","hunting","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter","unique-stays"],"758":["cabin","camping","camping-activities","fishing","geocaching","golf","hiking","lodge","outdoor-adventures","potomac-highlands","snow-sports","swimming"],"780":["boating","camping-activities","fishing","geocaching","mountain-lakes","museums-historical-sites","outdoor-adventures","picnic-shelter"],"760":["boating","cabin","fishing","geocaching","golf","hiking","hunting","museums-historical-sites","outdoor-adventures","potomac-highlands","scenic-train-rides","snow-sports","unique-stays"],"761":["camping-activities","geocaching","hiking","mountaineer-country","museums-historical-sites","picnic-shelter"],"762":["boating","camping","camping-activities","fishing","geocaching","golf","hiking","mountain-lakes","museums-historical-sites","outdoor-adventures","picnic-shelter","swimming"],"693":["atv","cabin","camping","camping-activities","fishing","geocaching","hatfield-mccoy-mountains","hiking","horseback-riding","hunting","lodge","museums-historical-sites","outdoor-adventures","picnic-shelter","swimming","wildlife-viewing"],"763":["cabin","camping","camping-activities","fishing","geocaching","golf","hiking","hunting","mountaineer-country","museums-historical-sites","outdoor-adventures","picnic-shelter"],"764":["camping-activities","hiking","museums-historical-sites","picnic-shelter","potomac-highlands","scenic-train-rides","snow-sports"],"765":["cabin","camping","camping-activities","fishing","golf","hiking","horseback-riding","hunting","museums-historical-sites","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter","swimming"],"694":["boating","fishing","golf","hiking","lodge","museums-historical-sites","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter","swimming"],"766":["cabin","camping","camping-activities","fishing","geocaching","hiking","horseback-riding","mountain-lakes","museums-historical-sites","outdoor-adventures","picnic-shelter","swimming"],"767":["camping","camping-activities","fishing","geocaching","hiking","horseback-riding","hunting","metro-valley","museums-historical-sites","outdoor-adventures","picnic-shelter"],"768":["cabin","camping","camping-activities","fishing","geocaching","hiking","horseback-riding","hunting","museums-historical-sites","outdoor-adventures","picnic-shelter","potomac-highlands"],"769":["atv","boating","cabin","camping","camping-activities","fishing","golf","hiking","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter"],"770":["cabin","camping","camping-activities","geocaching","hiking","horseback-riding","hunting","museums-historical-sites","outdoor-adventures","picnic-shelter","potomac-highlands","swimming"],"771":["boating","camping","camping-activities","fishing","geocaching","hiking","hunting","museums-historical-sites","new-river-greenbrier-valley","picnic-shelter","swimming"],"695":["atv","camping-activities","fishing","geocaching","hiking","horseback-riding","mid-ohio-valley"],"779":["atv","boating","cabin","camping","camping-activities","fishing","geocaching","golf","hiking","lodge","mid-ohio-valley","outdoor-adventures","picnic-shelter","swimming"],"772":["camping","camping-activities","fishing","hiking","horseback-riding","hunting","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter","swimming"],"773":["camping-activities","fishing","geocaching","hiking","horseback-riding","museums-historical-sites","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter"],"696":["mountian-biking","rafting","zip-line","aerial-tours","biking","boating","cabin","camping","camping-activities","fishing","golf","hiking","horseback-riding","hunting","lodge","museums-historical-sites","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter","rafting","snow-sports","swimming"],"774":["cabin","camping","camping-activities","fishing","golf","hiking","horseback-riding","hunting","museums-historical-sites","outdoor-adventures","picnic-shelter","potomac-highlands","scenic-train-rides","unique-stays"],"775":["boating","camping","camping-activities","fishing","geocaching","golf","hiking","horseback-riding","museums-historical-sites","northern-panhandle","outdoor-adventures","picnic-shelter","swimming","unique-stays"],"697":["atv","cabin","camping","camping-activities","geocaching","golf","hiking","lodge","museums-historical-sites","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter","snow-sports","swimming"],"698":["boating","cabin","camping","camping-activities","fishing","geocaching","golf","hiking","hunting","lodge","mountaineer-country","picnic-shelter","swimming"],"776":["camping-activities","fishing","geocaching","hiking","mountaineer-country","museums-historical-sites","picnic-shelter"],"777":["boating","cabin","camping","camping-activities","fishing","geocaching","hiking","hunting","museums-historical-sites","outdoor-adventures","picnic-shelter","potomac-highlands","snow-sports"],"778":["camping-activities","geocaching","hiking","mountaineer-country","museums-historical-sites","picnic-shelter"]}; // ensures only one park is selected at a time. jQuery(".park-select").change(function(){ var selected = jQuery(this); var all_selected = jQuery(".park-select:checked"); var id = selected.attr('id'); var ids = ""; all_selected.each(function(){ ids += jQuery(this)[0].id+","; }); // ids += ","; //console.log( ids ); //jQuery(".s_dest_id").val(id); jQuery(".s_dest_id").each(function(){ //jQuery(this).val(id) jQuery(this).val(ids+",") }); /* jQuery(".park-select").each(function(){ if(jQuery(this).attr('id') != selected.attr('id')){ jQuery(this).prop("checked", false); } }); */ }); var option = ""; jQuery(".option-select").change(function(){ option = jQuery(this).val(); var option_notouch = option; var activities = ['zip-line', 'biking', 'rafting']; // only show the relevant parks to what "activity" is selected var parks = jQuery(".park-select"); console.log(option); // if( option == 'adventure-lake' ){ // window.location = "https://reservations.wvstateparks.com/v2/products/activities?s_dest_id=696&productCategoryId=1029"; // } if(option=="golf"){ window.location = "https://reservations.wvstateparks.com/v2/merchandise/golf?s_dest_id=696"; } if(option=="elk"){ window.location = "https://wvstateparks.com/things-to-do/elk-management-tours/#elksep"; } // if(option=="dining"){ // window.open("https://reservations.wvstateparks.com/products/dining?s_dest_id=694&search_date=2023-05-27"); // } //console.log(parks_meta); parks.each(function(){ var hideMe = false; if(jQuery(this).attr("id") === "all"){ if(option=="lodge" || option=="picnic-shelter" || option=="camping" ){ hideMe = false; } else{ hideMe = true; } } else{ // console.log(option); if(option=="lodge"){ //We need to check cabins and lodges // console.log(jQuery(this).attr("id")+" - "+parks_meta[jQuery(this).attr("id")].indexOf("cabin")); if(parks_meta[jQuery(this).attr("id")].indexOf("lodge") > -1 || parks_meta[jQuery(this).attr("id")].indexOf("cabin") > -1){ hideMe = false; } else{ hideMe = true; } } else if(option=="dining"){ //We need to check cabins and lodges // console.log(jQuery(this).attr("id")+" - "+parks_meta[jQuery(this).attr("id")].indexOf("cabin")); // Only at Hawk's Nest if(jQuery(this).attr("id")=="758"){ hideMe = false; } else{ hideMe = true; } } else if(option=="adventure-lake"){ if(jQuery(this).attr("id")=="698" || jQuery(this).attr("id")=="696"){ hideMe = false; } else{ hideMe = true; } } else if(option=="other-activities"){ if(jQuery(this).attr("id")=="696" || jQuery(this).attr("id")=="754" || jQuery(this).attr("id")=="697"){ hideMe = false; } else{ hideMe = true; } } else if(option=="sternwheeler-rides" || option=="museums-and-historical-sites"){ if(jQuery(this).attr("id")=="754"){ hideMe = false; } else{ hideMe = true; } } else if(option=="camping"){ hideMe = false; } else{ if(parks_meta[jQuery(this).attr("id")].indexOf(option) != -1){ hideMe = false; } else{ hideMe = true; } } } if(hideMe){ jQuery(this).parent().parent().addClass("hide-me"); } else{ jQuery(this).parent().parent().removeClass("hide-me"); } }); if(!window.parkID){ var park_checked = $(".dropdown ul li input:checked"); park_checked.prop("checked",false); $(".select-dest-label").html("Select Destination"); // console.log("No park default."); } $(".calendar-select").show(); // urls are different pending on which "activity" you choose if( option == 'picnic-shelter' ){ jQuery(".main-form").attr("action", "https://reservations.wvstateparks.com/v2/products/picnic-shelters"); } else if( option == 'sledding' ){ console.log(1); jQuery(".main-form").attr("action", "https://reservations.wvstateparks.com/products/activities/?s_dest_id=753"); $(".calendar-select").hide(); } else if( option == 'adventure-lake' || option == 'other-activities' || option == 'sternwheeler-rides' || option == 'museums-and-historical-sites'){ jQuery(".main-form").attr("action", "https://reservations.wvstateparks.com/v2/products/activities"); // jQuery(".main-form").append(newitem); // $(".calendar-select").hide(); } else if( activities.includes(option) ){ // only select pipestem // parks.each(function(){ // if( jQuery(this).attr('id') != '696' ){ // jQuery(this).parent().parent().addClass('hide-me') // } // }); if( option == 'biking' ){ option = '1166'; }else if( option == 'zip-line' ){ option = '188'; }else if( option == 'rafting' ){ option = '121'; } jQuery(".main-form").attr("action", "https://reservations.wvstateparks.com/v2/products/activities"); var temp = document.getElementById("cat-field-for-activity"); if(temp){ temp.parentNode.removeChild(temp); } var newitem = document.createElement("input"); newitem.id = "cat-field-for-activity"; newitem.name = "productCategoryId"; newitem.type = "hidden"; newitem.value = option; jQuery(".main-form").append(newitem); } else{ if( option == "lodge" ){ option = "lodging"; } jQuery(".main-form").attr("action", "https://reservations.wvstateparks.com/products/"+option); } }); jQuery(".option-select").on("click", function(){ jQuery(".scroll-more").removeClass("hide-me"); }); jQuery(".option-select").on("change", function(){ jQuery(".scroll-more").addClass("hide-me"); }); </script> </div> </div> </div> </div> <style> .hidden{ display: none; } </style> <script> var parkID = ""; var parkID_other = ""; console.log([parkID,parkID_other]); jQuery( document ).ready(function() { if(parkID){ deal_with_selected_park(parkID); } else if(parkID_other){ deal_with_selected_park(parkID_other); } else{ // No park selected console.log("No park"); // Check the #all checkbox jQuery("#all").prop( "checked", true ); $(".select-dest-label").html("Search All Parks"); jQuery(".s_dest_id").each(function(){ jQuery(this).val("all") }); } function deal_with_selected_park(parkID){ window.parkID = parkID; jQuery("."+parkID).prop( "checked", true ); var this_park = parks_meta[parkID]; var options = jQuery(".option-select > option"); var first_select = ""; options.each(function(){ jQuery(this).attr("selected", false); }); options.each(function(){ if( in_arrays(parks_meta[parkID], jQuery(this).attr("class").split(/\s+/)) ){ jQuery(this).removeClass("hide-me"); if( !first_select ){ jQuery(this).attr("selected", true); first_select = jQuery(this).attr("id"); } } else{ jQuery(this).addClass("hide-me"); } if( jQuery(this).attr("id") == "camping" && jQuery("body").hasClass("parent-pageid-11384")){ //Nothing jQuery(this).attr("selected", true); jQuery(this).removeClass("hide-me"); } if( jQuery(this).attr("id") == "dining"){ if(parkID=="758"){ //Nothing // jQuery(this).attr("selected", true); jQuery(this).removeClass("hide-me"); // console.log(1); // Canaan if(parkID=="758"){ // October 4, 2024 jQuery('input[name="search_date"]').val("2024-10-05"); jQuery('input[name="search_date_ui"]').val("10/05/2024"); } } } if( jQuery(this).attr("id") == "other-activities" ){ if(parkID == "696" || parkID == "754" || parkID == "697"){ jQuery(this).removeClass("hide-me"); } } }); var park_checked = $(".dropdown ul li input:checked"); var p = park_checked.parent(); $(".select-dest-label").html( p[0].textContent.trim() ); // jquery doesn't activate 'native' change events, so we do it in vanillia js var element = document.getElementById('option-select'); var event = new Event('change'); element.dispatchEvent(event); jQuery("."+parkID).prop( "checked", true ); //jQuery(".s_dest_id").val(parkID); jQuery(".s_dest_id").each(function(){ jQuery(this).val(parkID+",") }); } }); </script> </div> </footer> <!-- IE polyfill for custom events. Must be in the body, unfortunately. --> <script> // Lazyload background images // Requires the LazySizes library, which should be loaded in functions.php document.addEventListener('lazybeforeunveil', function(e){ var bg = e.target.getAttribute('data-bg'); if(bg){ e.target.style.backgroundImage = 'url(' + bg + ')'; } var fa = e.target.getAttribute('data-fa'); if(fa){ var request = new XMLHttpRequest(); request.open('GET', '/wp-content/themes/wvto-2019/img/'+fa+".svg", true); request.onload = function() { if (this.status >= 200 && this.status < 400) { // Success! e.target.innerHTML = this.response; //console.log(this.response); var callback = e.target.getAttribute("callback"); if(callback){ window[callback].call(); } } else { // We reached our target server, but it returned an error } }; request.onerror = function() { // There was a connection error of some sort }; request.send(); } var loader = e.target.getAttribute('data-load'); if(loader){ var request = new XMLHttpRequest(); request.open('GET', loader, true); request.onload = function() { if (this.status >= 200 && this.status < 400) { // Success! e.target.innerHTML = this.response; var callback = e.target.getAttribute("callback"); if(callback){ window[callback].call(); } } else { // We reached our target server, but it returned an error } }; request.onerror = function() { // There was a connection error of some sort }; request.send(); } }); jQuery(function($) { var yurts = $('.page-template-template-page-product-php .content--interior .col--body strong:contains("Yurts")'); if (yurts.length > -1) { yurts.wrapInner('<h3></h3>'); } }); jQuery(document).ready(function(){ jQuery(".footer--attached span.close").click(function(e){ jQuery(".footer--attached").addClass("closed"); }); $('.shortcode-collapse .title').on('click', function() { var container = $(this).parents('.shortcode-collapse'); if (container.hasClass('open')) { container.removeClass('open'); container.find('.content').slideToggle(); } else { container.addClass('open'); container.find('.content').slideToggle(); } }); //console.log(document.cookie); /* var key = 'has-seen-newsletter-popup-feb-2019-2'; var hasSeenPopup = store(key); if(hasSeenPopup !== true || null == hasSeenPopup){ console.log(hasSeenPopup); console.log(hasSeenPopup !== true); console.log(null == hasSeenPopup) //$(".header_alert a").trigger("click"); $.featherlight($('#inn-m'), {}); store(key,true); //store('has-seen-popup',true); } */ }); //Includes // Localstorage/cookie plugin var store=function(t,e){function a(t,e,a){var n=new Date;n.setTime(n.getTime()+24*a*60*60*1e3);var r="; expires="+n.toGMTString();document.cookie=t+"="+e+r+"; path=/"}function n(t){for(var e=t+"=",a=document.cookie.split(";"),n=0,r=a.length;r>n;n++){for(var o=a[n];" "===o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(e))return o.substring(e.length,o.length)}return null}var r=!1;if(localStorage&&(r=!0),"undefined"!=typeof e&&null!==e&&("object"==typeof e&&(e=JSON.stringify(e)),r?localStorage.setItem(t,e):a(t,e,30)),"undefined"==typeof e){r?data=localStorage.getItem(t):data=n(t);try{data=JSON.parse(data)}catch(o){data=data}return data}null===e&&(r?localStorage.removeItem(t):a(t,"",-1))}; //Functions function round(value, decimals) { return Number(Math.round(value+'e'+decimals)+'e-'+decimals); } function check_for_nearest_park(){ var userLocation = store('user-location'); var needsRefreshed = true; if(userLocation){ if(userLocation.stamp>0){ //We stored something before //We need to see how old it is to see if it's worth checking again var timeMarker = Date.now(); var dif = timeMarker-userLocation.stamp; if(dif < 3600000){ needsRefreshed = false; console.log("This location isn't an hour old yet"); } else{ console.log("This location is too old."); needsRefreshed = true; } } } else{ console.log("No location on file"); needsRefreshed = true; } //For whatever reason, we have to hit the API for this if(needsRefreshed){ var userLocation = {}; if (!navigator.geolocation) { console.log('User does not have geolocation enabled.'); } var geoError = function(error) { console.log('Error occurred. Error code: ' + error.code); }; var geoSuccess = function(position) { console.log('Geolocation was successful.'); userLocation.lat = round(position.coords.latitude,2); userLocation.lng = round(position.coords.longitude,2); userLocation.stamp = position.timestamp; var result; var parkRequest = new XMLHttpRequest(); var url = '/api/?type=parks&lat=' + userLocation.lat + '&lng=' + userLocation.lng + '&orderby=distance&limit=1&forced=true'; console.log(url); parkRequest.open('Get', url); parkRequest.onreadystatechange = function() { if(parkRequest.readyState === 4) { result = JSON.parse(parkRequest.response.trim()); if (!parkRequest.status === 200) { console.log('An error occurred during your request: ' + parkRequest.status + ' ' + parkRequest.statusText); } userLocation.closestPark = result.data[0]; console.log(userLocation.closestPark); alert(userLocation.closestPark.title); store('user-location',userLocation); } }; parkRequest.send(); }; var currentLocation = navigator.geolocation.getCurrentPosition(geoSuccess, geoError); } else{ console.log(userLocation.closestPark); alert(userLocation.closestPark.title); } } (function () { if (typeof window.CustomEvent !== "function"){ function CustomEvent(event, params) { params = params || {bubbles: false, cancelable: false, detail: undefined}; var evt = document.createEvent('CustomEvent'); evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail); return evt; } CustomEvent.prototype = window.Event.prototype; window.Event = CustomEvent; } })(); </script> <script defer src="https://pro.fontawesome.com/releases/v5.8.1/js/all.js" integrity="sha384-GBwm0s/0wYcqnK/JmrCoRqWYIWzFiGEucsfFqkB76Ouii5+d4R31vWHPQtfhv55b" crossorigin="anonymous"></script> <div class="mobile-navigation"> <style> .hide-me { display: none !important; } .opened { text-align: center !important; } .footer--attached__bottom .dropdown.open ul{ height: auto !important; max-height: 200px !important; } </style> <div class="inntopia-slide-form"> <div class="quick-find"> <script src="https://cdnjs.cloudflare.com/ajax/libs/air-datepicker/2.2.3/js/datepicker.min.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js?v2.29.1"></script> <script> function in_arrays(haystack, arr) { return arr.some(function (v) { return haystack.indexOf(v) >= 0; }); }; //console.log( jQuery(".main-form").serialize() ); $(document).ready(function(){ //Open dropdown on park picker $(".dropdown > span").click(function(){ var visibleParks = jQuery(".park-li:not(.hide-me)"); if( visibleParks.length > 2 ){ $(".select-dest-label").html("Scroll For More <i class='fal fa-angle-down' style='font-size: 0.73em;'></i>"); }else{ $(".select-dest-label").html("Select Destination"); } $(".select-dest-label").addClass("opened"); $(this).parent().addClass("open"); window.dropOpen = true; }); var parkID = ""; //Close dropdown on park picker $(document).mouseup(function(e) { $(".select-dest-label").removeClass("opened"); var container = $(".dropdown"); // if the target of the click isn't the container nor a descendant of the container if (!container.is(e.target) && container.has(e.target).length === 0) { container.removeClass("open"); } var park_checked = $(".dropdown ul li input:checked"); if( !park_checked.attr("id") ){ $(".select-dest-label").html("Select Destination"); }else{ var p = park_checked.parent(); $(".select-dest-label").html( p[0].textContent.trim() ); } }); //Park destination field for lodging var inputs = $(".dropdown ul li input"); var inputsChecked = $(".dropdown ul li input:checked"); $(".dropdown ul li input").change(function(){ var checkedItems = Array(); var dropdown = $(this).parent().parent().parent().parent(); var inputsChecked = dropdown.find("input:checked"); inputsChecked.each(function(){ checkedItems.push($(this).val()); var lastPicked = $(this).parent().find("strong").text(); dropdown.find("span").text(lastPicked); // if($(this).val()=="691"){ // // August 3, 2024 // jQuery('input[name="search_date"]').val("2024-08-03"); // jQuery('input[name="search_date_ui"]').val("08/03/2024"); // } // if($(this).val()=="693"){ // // August 16, 2024 // jQuery('input[name="search_date"]').val("2024-08-16"); // jQuery('input[name="search_date_ui"]').val("08/16/2024"); // } // if($(this).val()=="694"){ // // September 7, 2024 // jQuery('input[name="search_date"]').val("2024-09-07"); // jQuery('input[name="search_date_ui"]').val("09/07/2024"); // } // if($(this).val()=="779"){ // // September 14, 2024 // jQuery('input[name="search_date"]').val("2024-09-14"); // jQuery('input[name="search_date_ui"]').val("09/14/2024"); // } // if($(this).val()=="696"){ // // September 21, 2024 // jQuery('input[name="search_date"]').val("2024-09-21"); // jQuery('input[name="search_date_ui"]').val("09/21/2024"); // } // if($(this).val()=="694"){ // jQuery('input[name="search_date"]').val("2024-09-07"); // jQuery('input[name="search_date_ui"]').val("09/07/2024"); // } // // Tygart // if($(this).val()=="698"){ // // October 5, 2024 // jQuery('input[name="search_date"]').val("2024-10-05"); // jQuery('input[name="search_date_ui"]').val("10/05/2024"); // } // // Blackwater // if($(this).val()=="753"){ // // September 6, 2024 // jQuery('input[name="search_date"]').val("2024-09-06"); // jQuery('input[name="search_date_ui"]').val("09/06/2024"); // } // Canaan if($(this).val()=="758"){ // October 4, 2024 jQuery('input[name="search_date"]').val("2024-10-05"); jQuery('input[name="search_date_ui"]').val("10/05/2024"); } }); $(this).val(checkedItems.join(",")); var park_checked = $(".dropdown ul li input:checked"); if( !park_checked.attr("id") ){ $(".select-dest-label").html("Select Destination"); } // console.log("A"); }); $('input[name="search_date_ui"]').datepicker({ language: 'en', onSelect: function(formattedDate, date, inst){ var startDate = moment(date[0]); if(date[1]){ var endDate = moment(date[1]); var daysBetween = endDate.diff(startDate, 'days') // 1 $('input[name="search_nights"]').val(daysBetween); } $('input[name="search_date"]').val(startDate.format("YYYY-MM-DD")); } }); }); </script> <div class="footer--attached__bottom"> <div class="grid-container"> <!-- Lodging Form --> <form id="" class="lodging active main-form" data-num="1" method="get" action="https://reservations.wvstateparks.com/products/lodging" target="_blank"> <div class="grid-x grid-padding-x grid-padding-y align-left"> <div class="cell shrink"> <strong>I'm looking for:</strong> <label class="looking"> <select id="option-select" class="option-select"> <option id="lodge" class="lodge cabin" value="lodge" selected>Lodges & Cabins</option> <option id="camping" class="camping" value="camping">Camping</option> <option id="picnic-shelter" class="picnic-shelter" value="picnic-shelter">Picnic Shelter</option> <option id="zip-line" class="activity zip-line" value="zip-line">Zip Line</option> <option id="biking" class="activity biking" value="biking">Mountain Bike</option> <option id="rafting" class="activity rafting" value="rafting">Rafting</option> <!-- Hiding this option for now --> <option id="sledding" class="activity sledding" value="sledding">Sledding</option> <option id="dining" class="activity dining" value="dining">Dining</option> <option id="golf" class="activity golf" value="golf">Golf</option> <option id="elk" class="activity elk" value="elk">Elk Tours</option> <option id="adventure-lake" class="activity adventure-lake" value="adventure-lake">Adventure Lake</option> <option id="sternwheeler-rides" class="activity sternwheeler-rides" value="sternwheeler-rides">Sternwheeler Rides</option> <option id="museums-and-historical-sites" class="activity museums-and-historical-sites" value="museums-and-historical-sites">Museums & Historical Sites</option> <option id="other-activities" class="activity other-activities" value="other-activities">Other Activities</option> </select> </label> </div> <div class="cell auto"> <strong>Parks</strong> <div class="dropdown"> <ul> <li class="park-li hide-me all"> <label> <input class="park-select" id="all" type="checkbox" value="all" > <strong>Search All Parks</strong> </label> </li> <li class="park-li 750 hide-me"> <label> <input class=" park-select 750" id="750" type="checkbox" value="750" > <strong>Audra State Park </strong> </label> </li> <li class="park-li 751 hide-me"> <label> <input class=" park-select 751" id="751" type="checkbox" value="751" > <strong>Babcock State Park </strong> </label> </li> <li class="park-li 752 hide-me"> <label> <input class=" park-select 752" id="752" type="checkbox" value="752" > <strong>Beech Fork State Park </strong> </label> </li> <li class="park-li 753 hide-me"> <label> <input class=" park-select 753" id="753" type="checkbox" value="753" > <strong>Blackwater Falls State Park </strong> </label> </li> <li class="park-li 754 hide-me"> <label> <input class=" park-select 754" id="754" type="checkbox" value="754" > <strong>Blennerhassett Island Historical State Park </strong> </label> </li> <li class="park-li 755 hide-me"> <label> <input class=" park-select 755" id="755" type="checkbox" value="755" > <strong>Bluestone State Park </strong> </label> </li> <li class="park-li 756 hide-me"> <label> <input class=" park-select 756" id="756" type="checkbox" value="756" > <strong>Cabwaylingo State Forest </strong> </label> </li> <li class="park-li 691 hide-me"> <label> <input class=" park-select 691" id="691" type="checkbox" value="691" > <strong>Cacapon Resort State Park </strong> </label> </li> <li class="park-li 757 hide-me"> <label> <input class=" park-select 757" id="757" type="checkbox" value="757" > <strong>Camp Creek State Park and Forest </strong> </label> </li> <li class="park-li 758 hide-me"> <label> <input class=" park-select 758" id="758" type="checkbox" value="758" > <strong>Canaan Valley Resort State Park </strong> </label> </li> <li class="park-li 780 hide-me"> <label> <input class=" park-select 780" id="780" type="checkbox" value="780" > <strong>Carnifex Ferry Battlefield State Park </strong> </label> </li> <li class="park-li 760 hide-me"> <label> <input class=" park-select 760" id="760" type="checkbox" value="760" > <strong>Cass Scenic Railroad State Park </strong> </label> </li> <li class="park-li 761 hide-me"> <label> <input class=" park-select 761" id="761" type="checkbox" value="761" > <strong>Cathedral State Park </strong> </label> </li> <li class="park-li 762 hide-me"> <label> <input class=" park-select 762" id="762" type="checkbox" value="762" > <strong>Cedar Creek State Park </strong> </label> </li> <li class="park-li 693 hide-me"> <label> <input class=" park-select 693" id="693" type="checkbox" value="693" > <strong>Chief Logan State Park </strong> </label> </li> <li class="park-li 763 hide-me"> <label> <input class=" park-select 763" id="763" type="checkbox" value="763" > <strong>Coopers Rock State Forest </strong> </label> </li> <li class="park-li 764 hide-me"> <label> <input class=" park-select 764" id="764" type="checkbox" value="764" > <strong>Droop Mountain Battlefield State Park </strong> </label> </li> <li class="park-li 765 hide-me"> <label> <input class=" park-select 765" id="765" type="checkbox" value="765" > <strong>Greenbrier State Forest </strong> </label> </li> <li class="park-li 694 hide-me"> <label> <input class=" park-select 694" id="694" type="checkbox" value="694" > <strong>Hawks Nest State Park </strong> </label> </li> <li class="park-li 766 hide-me"> <label> <input class=" park-select 766" id="766" type="checkbox" value="766" > <strong>Holly River State Park </strong> </label> </li> <li class="park-li 767 hide-me"> <label> <input class=" park-select 767" id="767" type="checkbox" value="767" > <strong>Kanawha State Forest </strong> </label> </li> <li class="park-li 768 hide-me"> <label> <input class=" park-select 768" id="768" type="checkbox" value="768" > <strong>Kumbrabow State Forest </strong> </label> </li> <li class="park-li 769 hide-me"> <label> <input class=" park-select 769" id="769" type="checkbox" value="769" > <strong>Little Beaver State Park </strong> </label> </li> <li class="park-li 770 hide-me"> <label> <input class=" park-select 770" id="770" type="checkbox" value="770" > <strong>Lost River State Park </strong> </label> </li> <li class="park-li 771 hide-me"> <label> <input class=" park-select 771" id="771" type="checkbox" value="771" > <strong>Moncove Lake State Park </strong> </label> </li> <li class="park-li 695 hide-me"> <label> <input class=" park-select 695" id="695" type="checkbox" value="695" > <strong>North Bend Rail Trail </strong> </label> </li> <li class="park-li 779 hide-me"> <label> <input class=" park-select 779" id="779" type="checkbox" value="779" > <strong>North Bend State Park </strong> </label> </li> <li class="park-li 772 hide-me"> <label> <input class=" park-select 772" id="772" type="checkbox" value="772" > <strong>Panther State Forest </strong> </label> </li> <li class="park-li 773 hide-me"> <label> <input class=" park-select 773" id="773" type="checkbox" value="773" > <strong>Pinnacle Rock State Park </strong> </label> </li> <li class="park-li 696 hide-me"> <label> <input class=" park-select 696" id="696" type="checkbox" value="696" > <strong>Pipestem Resort State Park </strong> </label> </li> <li class="park-li 774 hide-me"> <label> <input class=" park-select 774" id="774" type="checkbox" value="774" > <strong>Seneca State Forest </strong> </label> </li> <li class="park-li 775 hide-me"> <label> <input class=" park-select 775" id="775" type="checkbox" value="775" > <strong>Tomlinson Run State Park </strong> </label> </li> <li class="park-li 697 hide-me"> <label> <input class=" park-select 697" id="697" type="checkbox" value="697" > <strong>Twin Falls Resort State Park </strong> </label> </li> <li class="park-li 698 hide-me"> <label> <input class=" park-select 698" id="698" type="checkbox" value="698" > <strong>Tygart Lake State Park </strong> </label> </li> <li class="park-li 776 hide-me"> <label> <input class=" park-select 776" id="776" type="checkbox" value="776" > <strong>Valley Falls State Park </strong> </label> </li> <li class="park-li 777 hide-me"> <label> <input class=" park-select 777" id="777" type="checkbox" value="777" > <strong>Watoga State Park </strong> </label> </li> <li class="park-li 778 hide-me"> <label> <input class=" park-select 778" id="778" type="checkbox" value="778" > <strong>Watters Smith Memorial State Park </strong> </label> </li> </ul> <span class="select-dest-label">Select Destination</span> </div> <input class="s_dest_id" id="s_dest_id" type="hidden" name="s_dest_id" value="0"> </div> <div class="cell shrink calendar-select"> <strong>Arrival Date</strong> <input autocomplete="off" class="datepicker-here" data-range="true" data-position='top left' data-language='en' type="text" readonly="true" name="search_date_ui"> <input type="hidden" name="search_date" value="2024-11-30"> <input type="hidden" name="search_nights" value="2"> </div> <div class="cell shrink"> <input id="main-submit" class="main-submit" type="submit" value="View Rates"> </div> <div class="cell shrink deals-button-div"> <div class="deals-button"> <a href="/wvsp-newsletter"> <span>Sign Up For Deals</span> </a> </div> </div> </div> </form> <script> //Carnifex Ferry Battlefield State Park is showing an ID of 780 in the booking site // WVSP has it as 759 jQuery(document).ready(function(){ if(!window.parkID){ jQuery(".option-select").trigger("change"); } }); var parks_meta = {"750":["boating","camping","camping-activities","fishing","geocaching","hiking","mountain-lakes","picnic-shelter","swimming"],"751":["boating","cabin","camping","camping-activities","fishing","geocaching","hiking","hunting","lodging","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter"],"752":["boating","cabin","camping","camping-activities","fishing","geocaching","golf","hiking","hunting","metro-valley","picnic-shelter","swimming"],"753":["boating","cabin","camping","camping-activities","fishing","geocaching","golf","hiking","hunting","lodge","outdoor-adventures","picnic-shelter","potomac-highlands","scenic-train-rides","sledding","snow-sports","swimming"],"754":["camping-activities","fishing","hiking","mid-ohio-valley","museums-historical-sites","picnic-shelter"],"755":["boating","cabin","camping","camping-activities","fishing","golf","hiking","hunting","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter","snow-sports","swimming"],"756":["atv","cabin","camping","camping-activities","fishing","hatfield-mccoy-mountains","hiking","hunting","museums-historical-sites","outdoor-adventures","picnic-shelter"],"691":["cabin","camping-activities","eastern-panhandle","fishing","geocaching","golf","hiking","horseback-riding","hunting","lodge","museums-historical-sites","outdoor-adventures","picnic-shelter","swimming","unique-stays"],"757":["cabin","camping","camping-activities","fishing","geocaching","hiking","horseback-riding","hunting","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter","unique-stays"],"758":["cabin","camping","camping-activities","fishing","geocaching","golf","hiking","lodge","outdoor-adventures","potomac-highlands","snow-sports","swimming"],"780":["boating","camping-activities","fishing","geocaching","mountain-lakes","museums-historical-sites","outdoor-adventures","picnic-shelter"],"760":["boating","cabin","fishing","geocaching","golf","hiking","hunting","museums-historical-sites","outdoor-adventures","potomac-highlands","scenic-train-rides","snow-sports","unique-stays"],"761":["camping-activities","geocaching","hiking","mountaineer-country","museums-historical-sites","picnic-shelter"],"762":["boating","camping","camping-activities","fishing","geocaching","golf","hiking","mountain-lakes","museums-historical-sites","outdoor-adventures","picnic-shelter","swimming"],"693":["atv","cabin","camping","camping-activities","fishing","geocaching","hatfield-mccoy-mountains","hiking","horseback-riding","hunting","lodge","museums-historical-sites","outdoor-adventures","picnic-shelter","swimming","wildlife-viewing"],"763":["cabin","camping","camping-activities","fishing","geocaching","golf","hiking","hunting","mountaineer-country","museums-historical-sites","outdoor-adventures","picnic-shelter"],"764":["camping-activities","hiking","museums-historical-sites","picnic-shelter","potomac-highlands","scenic-train-rides","snow-sports"],"765":["cabin","camping","camping-activities","fishing","golf","hiking","horseback-riding","hunting","museums-historical-sites","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter","swimming"],"694":["boating","fishing","golf","hiking","lodge","museums-historical-sites","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter","swimming"],"766":["cabin","camping","camping-activities","fishing","geocaching","hiking","horseback-riding","mountain-lakes","museums-historical-sites","outdoor-adventures","picnic-shelter","swimming"],"767":["camping","camping-activities","fishing","geocaching","hiking","horseback-riding","hunting","metro-valley","museums-historical-sites","outdoor-adventures","picnic-shelter"],"768":["cabin","camping","camping-activities","fishing","geocaching","hiking","horseback-riding","hunting","museums-historical-sites","outdoor-adventures","picnic-shelter","potomac-highlands"],"769":["atv","boating","cabin","camping","camping-activities","fishing","golf","hiking","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter"],"770":["cabin","camping","camping-activities","geocaching","hiking","horseback-riding","hunting","museums-historical-sites","outdoor-adventures","picnic-shelter","potomac-highlands","swimming"],"771":["boating","camping","camping-activities","fishing","geocaching","hiking","hunting","museums-historical-sites","new-river-greenbrier-valley","picnic-shelter","swimming"],"695":["atv","camping-activities","fishing","geocaching","hiking","horseback-riding","mid-ohio-valley"],"779":["atv","boating","cabin","camping","camping-activities","fishing","geocaching","golf","hiking","lodge","mid-ohio-valley","outdoor-adventures","picnic-shelter","swimming"],"772":["camping","camping-activities","fishing","hiking","horseback-riding","hunting","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter","swimming"],"773":["camping-activities","fishing","geocaching","hiking","horseback-riding","museums-historical-sites","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter"],"696":["mountian-biking","rafting","zip-line","aerial-tours","biking","boating","cabin","camping","camping-activities","fishing","golf","hiking","horseback-riding","hunting","lodge","museums-historical-sites","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter","rafting","snow-sports","swimming"],"774":["cabin","camping","camping-activities","fishing","golf","hiking","horseback-riding","hunting","museums-historical-sites","outdoor-adventures","picnic-shelter","potomac-highlands","scenic-train-rides","unique-stays"],"775":["boating","camping","camping-activities","fishing","geocaching","golf","hiking","horseback-riding","museums-historical-sites","northern-panhandle","outdoor-adventures","picnic-shelter","swimming","unique-stays"],"697":["atv","cabin","camping","camping-activities","geocaching","golf","hiking","lodge","museums-historical-sites","new-river-greenbrier-valley","outdoor-adventures","picnic-shelter","snow-sports","swimming"],"698":["boating","cabin","camping","camping-activities","fishing","geocaching","golf","hiking","hunting","lodge","mountaineer-country","picnic-shelter","swimming"],"776":["camping-activities","fishing","geocaching","hiking","mountaineer-country","museums-historical-sites","picnic-shelter"],"777":["boating","cabin","camping","camping-activities","fishing","geocaching","hiking","hunting","museums-historical-sites","outdoor-adventures","picnic-shelter","potomac-highlands","snow-sports"],"778":["camping-activities","geocaching","hiking","mountaineer-country","museums-historical-sites","picnic-shelter"]}; // ensures only one park is selected at a time. jQuery(".park-select").change(function(){ var selected = jQuery(this); var all_selected = jQuery(".park-select:checked"); var id = selected.attr('id'); var ids = ""; all_selected.each(function(){ ids += jQuery(this)[0].id+","; }); // ids += ","; //console.log( ids ); //jQuery(".s_dest_id").val(id); jQuery(".s_dest_id").each(function(){ //jQuery(this).val(id) jQuery(this).val(ids+",") }); /* jQuery(".park-select").each(function(){ if(jQuery(this).attr('id') != selected.attr('id')){ jQuery(this).prop("checked", false); } }); */ }); var option = ""; jQuery(".option-select").change(function(){ option = jQuery(this).val(); var option_notouch = option; var activities = ['zip-line', 'biking', 'rafting']; // only show the relevant parks to what "activity" is selected var parks = jQuery(".park-select"); console.log(option); // if( option == 'adventure-lake' ){ // window.location = "https://reservations.wvstateparks.com/v2/products/activities?s_dest_id=696&productCategoryId=1029"; // } if(option=="golf"){ window.location = "https://reservations.wvstateparks.com/v2/merchandise/golf?s_dest_id=696"; } if(option=="elk"){ window.location = "https://wvstateparks.com/things-to-do/elk-management-tours/#elksep"; } // if(option=="dining"){ // window.open("https://reservations.wvstateparks.com/products/dining?s_dest_id=694&search_date=2023-05-27"); // } //console.log(parks_meta); parks.each(function(){ var hideMe = false; if(jQuery(this).attr("id") === "all"){ if(option=="lodge" || option=="picnic-shelter" || option=="camping" ){ hideMe = false; } else{ hideMe = true; } } else{ // console.log(option); if(option=="lodge"){ //We need to check cabins and lodges // console.log(jQuery(this).attr("id")+" - "+parks_meta[jQuery(this).attr("id")].indexOf("cabin")); if(parks_meta[jQuery(this).attr("id")].indexOf("lodge") > -1 || parks_meta[jQuery(this).attr("id")].indexOf("cabin") > -1){ hideMe = false; } else{ hideMe = true; } } else if(option=="dining"){ //We need to check cabins and lodges // console.log(jQuery(this).attr("id")+" - "+parks_meta[jQuery(this).attr("id")].indexOf("cabin")); // Only at Hawk's Nest if(jQuery(this).attr("id")=="758"){ hideMe = false; } else{ hideMe = true; } } else if(option=="adventure-lake"){ if(jQuery(this).attr("id")=="698" || jQuery(this).attr("id")=="696"){ hideMe = false; } else{ hideMe = true; } } else if(option=="other-activities"){ if(jQuery(this).attr("id")=="696" || jQuery(this).attr("id")=="754" || jQuery(this).attr("id")=="697"){ hideMe = false; } else{ hideMe = true; } } else if(option=="sternwheeler-rides" || option=="museums-and-historical-sites"){ if(jQuery(this).attr("id")=="754"){ hideMe = false; } else{ hideMe = true; } } else if(option=="camping"){ hideMe = false; } else{ if(parks_meta[jQuery(this).attr("id")].indexOf(option) != -1){ hideMe = false; } else{ hideMe = true; } } } if(hideMe){ jQuery(this).parent().parent().addClass("hide-me"); } else{ jQuery(this).parent().parent().removeClass("hide-me"); } }); if(!window.parkID){ var park_checked = $(".dropdown ul li input:checked"); park_checked.prop("checked",false); $(".select-dest-label").html("Select Destination"); // console.log("No park default."); } $(".calendar-select").show(); // urls are different pending on which "activity" you choose if( option == 'picnic-shelter' ){ jQuery(".main-form").attr("action", "https://reservations.wvstateparks.com/v2/products/picnic-shelters"); } else if( option == 'sledding' ){ console.log(1); jQuery(".main-form").attr("action", "https://reservations.wvstateparks.com/products/activities/?s_dest_id=753"); $(".calendar-select").hide(); } else if( option == 'adventure-lake' || option == 'other-activities' || option == 'sternwheeler-rides' || option == 'museums-and-historical-sites'){ jQuery(".main-form").attr("action", "https://reservations.wvstateparks.com/v2/products/activities"); // jQuery(".main-form").append(newitem); // $(".calendar-select").hide(); } else if( activities.includes(option) ){ // only select pipestem // parks.each(function(){ // if( jQuery(this).attr('id') != '696' ){ // jQuery(this).parent().parent().addClass('hide-me') // } // }); if( option == 'biking' ){ option = '1166'; }else if( option == 'zip-line' ){ option = '188'; }else if( option == 'rafting' ){ option = '121'; } jQuery(".main-form").attr("action", "https://reservations.wvstateparks.com/v2/products/activities"); var temp = document.getElementById("cat-field-for-activity"); if(temp){ temp.parentNode.removeChild(temp); } var newitem = document.createElement("input"); newitem.id = "cat-field-for-activity"; newitem.name = "productCategoryId"; newitem.type = "hidden"; newitem.value = option; jQuery(".main-form").append(newitem); } else{ if( option == "lodge" ){ option = "lodging"; } jQuery(".main-form").attr("action", "https://reservations.wvstateparks.com/products/"+option); } }); jQuery(".option-select").on("click", function(){ jQuery(".scroll-more").removeClass("hide-me"); }); jQuery(".option-select").on("change", function(){ jQuery(".scroll-more").addClass("hide-me"); }); </script> </div> </div> </div> </div> <style> .hidden{ display: none; } </style> <script> var parkID = ""; var parkID_other = ""; console.log([parkID,parkID_other]); jQuery( document ).ready(function() { if(parkID){ deal_with_selected_park(parkID); } else if(parkID_other){ deal_with_selected_park(parkID_other); } else{ // No park selected console.log("No park"); // Check the #all checkbox jQuery("#all").prop( "checked", true ); $(".select-dest-label").html("Search All Parks"); jQuery(".s_dest_id").each(function(){ jQuery(this).val("all") }); } function deal_with_selected_park(parkID){ window.parkID = parkID; jQuery("."+parkID).prop( "checked", true ); var this_park = parks_meta[parkID]; var options = jQuery(".option-select > option"); var first_select = ""; options.each(function(){ jQuery(this).attr("selected", false); }); options.each(function(){ if( in_arrays(parks_meta[parkID], jQuery(this).attr("class").split(/\s+/)) ){ jQuery(this).removeClass("hide-me"); if( !first_select ){ jQuery(this).attr("selected", true); first_select = jQuery(this).attr("id"); } } else{ jQuery(this).addClass("hide-me"); } if( jQuery(this).attr("id") == "camping" && jQuery("body").hasClass("parent-pageid-11384")){ //Nothing jQuery(this).attr("selected", true); jQuery(this).removeClass("hide-me"); } if( jQuery(this).attr("id") == "dining"){ if(parkID=="758"){ //Nothing // jQuery(this).attr("selected", true); jQuery(this).removeClass("hide-me"); // console.log(1); // Canaan if(parkID=="758"){ // October 4, 2024 jQuery('input[name="search_date"]').val("2024-10-05"); jQuery('input[name="search_date_ui"]').val("10/05/2024"); } } } if( jQuery(this).attr("id") == "other-activities" ){ if(parkID == "696" || parkID == "754" || parkID == "697"){ jQuery(this).removeClass("hide-me"); } } }); var park_checked = $(".dropdown ul li input:checked"); var p = park_checked.parent(); $(".select-dest-label").html( p[0].textContent.trim() ); // jquery doesn't activate 'native' change events, so we do it in vanillia js var element = document.getElementById('option-select'); var event = new Event('change'); element.dispatchEvent(event); jQuery("."+parkID).prop( "checked", true ); //jQuery(".s_dest_id").val(parkID); jQuery(".s_dest_id").each(function(){ jQuery(this).val(parkID+",") }); } }); </script> <style> .mobile-navigation__park-options .default-option{ min-width: auto !important; } .mobile-navigation__park-options .default-option svg{ fill: #fff; } </style> <a href="#" class="mobile-navigation__menu-toggle"> <span class="mobile-navigation__menu-toggle__closed"><svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M0 0v1h8v-1h-8zm0 2.97v1h8v-1h-8zm0 3v1h8v-1h-8z" transform="translate(0 1)" /> </svg></span> <span class="mobile-navigation__menu-toggle__open"><svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M1.41 0l-1.41 1.41.72.72 1.78 1.81-1.78 1.78-.72.69 1.41 1.44.72-.72 1.81-1.81 1.78 1.81.69.72 1.44-1.44-.72-.69-1.81-1.78 1.81-1.81.72-.72-1.44-1.41-.69.72-1.78 1.78-1.81-1.78-.72-.72z" /> </svg></span> </a> <div class="mobile-navigation__menu"> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <ul> <li data-menu-item="2039" class=" menu-item menu-item-type-post_type menu-item-object-page current-page-ancestor menu-item-2039 menu-item-has-children"> <a href="https://wvstateparks.com/parks/"> <span> Our Parks <span class="dropdown-arrow"> <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M1.5 0l-1.5 1.5 4 4 4-4-1.5-1.5-2.5 2.5-2.5-2.5z" transform="translate(0 1)" /> </svg> </span> </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <ul> <li data-menu-item="6504" class=" menu-item menu-item-type-custom menu-item-object-custom menu-item-6504"> <a href="/contact/#az_parks"> <span> Parks: A to Z<i class="fas fa-chevron-down mobile-parks-arrow-down"></i> </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <ul class="park_mobile_ul hidden"> <a class='park_mobile_a' href="https://wvstateparks.com/park/audra-state-park/"> <li>Audra State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/babcock-state-park/"> <li>Babcock State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/beartown-state-park/"> <li>Beartown State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/beech-fork-state-park/"> <li>Beech Fork State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/berkeley-springs-state-park/"> <li>Berkeley Springs State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/blackwater-falls-state-park/"> <li>Blackwater Falls State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/blennerhassett-island-historical-state-park/"> <li>Blennerhassett Island Historical State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/bluestone-state-park/"> <li>Bluestone State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/cabwaylingo-state-forest/"> <li>Cabwaylingo State Forest</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/cacapon-resort-state-park/"> <li>Cacapon Resort State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/calvin-price-state-forest/"> <li>Calvin Price State Forest</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/camp-creek-state-park/"> <li>Camp Creek State Park and Forest</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/canaan-valley-resort-state-park/"> <li>Canaan Valley Resort State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/carnifex-ferry-battlefield-state-park/"> <li>Carnifex Ferry Battlefield State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/cass-scenic-railroad-state-park/"> <li>Cass Scenic Railroad State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/cathedral-state-park/"> <li>Cathedral State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/cedar-creek-state-park/"> <li>Cedar Creek State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/chief-logan-state-park/"> <li>Chief Logan State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/coopers-rock-state-forest/"> <li>Coopers Rock State Forest</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/droop-mountain-battlefield-state-park/"> <li>Droop Mountain Battlefield State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/elk-river-trail/"> <li>Elk River Trail</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/fairfax-stone-state-park/"> <li>Fairfax Stone State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/greenbrier-river-trail/"> <li>Greenbrier River Trail</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/greenbrier-state-forest/"> <li>Greenbrier State Forest</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/hawks-nest-state-park/"> <li>Hawks Nest State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/holly-river-state-park/"> <li>Holly River State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/kanawha-state-forest/"> <li>Kanawha State Forest</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/kumbrabow-state-forest/"> <li>Kumbrabow State Forest</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/little-beaver-state-park/"> <li>Little Beaver State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/lost-river-state-park/"> <li>Lost River State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/moncove-lake-state-park/"> <li>Moncove Lake State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/north-bend-rail-trail/"> <li>North Bend Rail Trail</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/north-bend-state-park/"> <li>North Bend State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/panther-state-forest/"> <li>Panther State Forest</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/pinnacle-rock-state-park/"> <li>Pinnacle Rock State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/pipestem-resort-state-park/"> <li>Pipestem Resort State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/pricketts-fort-state-park/"> <li>Prickett's Fort State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/seneca-state-forest/"> <li>Seneca State Forest</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/stonewall-resort-state-park/"> <li>Stonewall Resort State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/summersville"> <li>Summersville Lake State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/tomlinson-run-state-park/"> <li>Tomlinson Run State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/tu-endie-wei-state-park/"> <li>Tu-Endie-Wei State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/twin-falls-resort-state-park/"> <li>Twin Falls Resort State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/tygart-lake-state-park/"> <li>Tygart Lake State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/valley-falls-state-park/"> <li>Valley Falls State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/watoga-state-park/"> <li>Watoga State Park</li> </a> <a class='park_mobile_a' href="https://wvstateparks.com/park/watters-smith-memorial-state-park/"> <li>Watters Smith Memorial State Park</li> </a> </ul> <li data-menu-item="5764" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-5764"> <a href="https://wvstateparks.com/about/"> <span> About West Virginia State Parks </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="9478" class=" menu-item menu-item-type-post_type menu-item-object-page current-page-ancestor menu-item-9478"> <a href="https://wvstateparks.com/parks/programs/"> <span> Programs </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="6819" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6819"> <a href="https://wvstateparks.com/groups/"> <span> Groups </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="2054" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-2054"> <a href="https://wvstateparks.com/parks-foundation/"> <span> West Virginia State Parks Foundation </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="5766" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-5766"> <a href="https://wvstateparks.com/rules-and-regulations/"> <span> Rules and Regulations </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> </ul> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="11441" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-11441 menu-item-has-children"> <a href="https://wvstateparks.com/places-to-stay/"> <span> Places to Stay <span class="dropdown-arrow"> <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M1.5 0l-1.5 1.5 4 4 4-4-1.5-1.5-2.5 2.5-2.5-2.5z" transform="translate(0 1)" /> </svg> </span> </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <ul> <li data-menu-item="11442" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-11442"> <a href="https://wvstateparks.com/places-to-stay/lodges/"> <span> Lodges </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="11443" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-11443"> <a href="https://wvstateparks.com/places-to-stay/cabins/"> <span> Cabins </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="11444" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-11444"> <a href="https://wvstateparks.com/places-to-stay/campgrounds/"> <span> Campgrounds </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="11500" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-11500"> <a href="https://wvstateparks.com/places-to-stay/unique-stay/"> <span> Unique Places to Stay </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="12418" class=" menu-item menu-item-type-custom menu-item-object-custom menu-item-12418"> <a href="https://wvstateparks.com/electric-vehicle-charging-stations/"> <span> EV Charging Stations </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> </ul> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="2037" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-2037 menu-item-has-children"> <a href="https://wvstateparks.com/things-to-do/"> <span> Things to Do <span class="dropdown-arrow"> <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M1.5 0l-1.5 1.5 4 4 4-4-1.5-1.5-2.5 2.5-2.5-2.5z" transform="translate(0 1)" /> </svg> </span> </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <ul> <li data-menu-item="10824" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-10824"> <a href="https://wvstateparks.com/things-to-do/aerial-tours/"> <span> Aerial Tours </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="6489" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6489"> <a href="https://wvstateparks.com/things-to-do/atv-riding/"> <span> ATV Riding </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="6491" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6491"> <a href="https://wvstateparks.com/things-to-do/boating/"> <span> Boating </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="7510" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-7510"> <a href="https://wvstateparks.com/things-to-do/camping/"> <span> Camping </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="13195" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-13195"> <a href="https://wvstateparks.com/things-to-do/elk-management-tours/"> <span> Elk Management Tours </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="6492" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6492"> <a href="https://wvstateparks.com/things-to-do/fishing/"> <span> Fishing </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="6493" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6493"> <a href="https://wvstateparks.com/things-to-do/geocaching/"> <span> Geocaching </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="6494" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6494"> <a href="https://wvstateparks.com/things-to-do/golf-courses/"> <span> Golf Courses </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="6495" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6495"> <a href="https://wvstateparks.com/things-to-do/hiking-trails/"> <span> Hiking Trails </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="6496" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6496"> <a href="https://wvstateparks.com/things-to-do/horseback-riding/"> <span> Horseback Riding </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="6537" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6537"> <a href="https://wvstateparks.com/things-to-do/hunting/"> <span> Hunting </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="6490" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6490"> <a href="https://wvstateparks.com/things-to-do/biking-trails/"> <span> Mountain Biking Trails </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="6497" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6497"> <a href="https://wvstateparks.com/things-to-do/museums-historical-sites/"> <span> Museums and Historical Sites </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="6498" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6498"> <a href="https://wvstateparks.com/things-to-do/outdoor-adventures/"> <span> Outdoor Adventures </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="6499" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6499"> <a href="https://wvstateparks.com/things-to-do/scenic-train-rides/"> <span> Scenic Train Rides </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="6500" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6500"> <a href="https://wvstateparks.com/things-to-do/snow-sports/"> <span> Snow Sports </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="6501" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6501"> <a href="https://wvstateparks.com/things-to-do/swimming/"> <span> Swimming </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="13560" class=" menu-item menu-item-type-custom menu-item-object-custom menu-item-13560"> <a href="/park/pipestem-resort-state-park/white-water-rafting/"> <span> Whitewater Rafting </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> </ul> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="2052" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-2052 menu-item-has-children"> <a href="https://wvstateparks.com/blog/"> <span> Trip Inspiration <span class="dropdown-arrow"> <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M1.5 0l-1.5 1.5 4 4 4-4-1.5-1.5-2.5 2.5-2.5-2.5z" transform="translate(0 1)" /> </svg> </span> </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <ul> <li data-menu-item="6503" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6503"> <a href="https://wvstateparks.com/blog/"> <span> Blog </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="9656" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-9656"> <a href="https://wvstateparks.com/share-your-story/"> <span> Share Your Story </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="5767" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-5767"> <a href="https://wvstateparks.com/newsroom/"> <span> Newsroom </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> </ul> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="2038" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-2038 menu-item-has-children"> <a href="https://wvstateparks.com/calendar/"> <span> Events <span class="dropdown-arrow"> <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M1.5 0l-1.5 1.5 4 4 4-4-1.5-1.5-2.5 2.5-2.5-2.5z" transform="translate(0 1)" /> </svg> </span> </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <ul> <li data-menu-item="6820" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6820"> <a href="https://wvstateparks.com/calendar/"> <span> Calendar of Events </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> <li data-menu-item="6818" class=" menu-item menu-item-type-post_type menu-item-object-page menu-item-6818"> <a href="https://wvstateparks.com/groups/"> <span> Groups </span> </a> <style> .park_mobile_ul a li { font-family: 'Gotham', sans-serif; margin-bottom: 10%; font-size: 14px; line-height: 1em; list-style: none; color: white; text-decoration: none; } .park_mobile_ul a { text-decoration: none; } </style> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> </ul> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </li> </ul> <script> $(document).ready(function(){ }); </script> <style> .park_mobile_ul { margin-left: 0 !important; padding-left: 35px !important; } .mobile-parks-arrow-down { margin-left: 5%; } </style> </div> <ul class="mobile-navigation__park-options"> <li class="mobile-navigation__park-options__park-option default-option"> <a href="https://reservations.wvstateparks.com/products/lodging?" class="button bk">Book Now</a> </li> <li class="mobile-navigation__park-options__park-option default-option"> <a href="tel:1-833-WV-PARKS" class="button"><?xml version="1.0" encoding="utf-8"?> <!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="512px" height="512px" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve"> <path d="M492.438,397.75l-2.375-7.156c-5.625-16.719-24.063-34.156-41-38.75l-62.688-17.125c-17-4.625-41.25,1.594-53.688,14.031 L310,371.438c-82.453-22.281-147.109-86.938-169.359-169.375l22.688-22.688c12.438-12.438,18.656-36.656,14.031-53.656L160.266,63 c-4.625-16.969-22.094-35.406-38.781-40.969l-7.156-2.406c-16.719-5.563-40.563,0.063-53,12.5L27.391,66.094 c-6.063,6.031-9.938,23.281-9.938,23.344C16.266,197.188,58.516,301,134.734,377.219c76.031,76.031,179.453,118.219,286.891,117.313 c0.563,0,18.313-3.813,24.375-9.844l33.938-33.938C492.375,438.313,498,414.469,492.438,397.75z"/> </svg> </a> </li> <!-- <li class="mobile-navigation__park-options__park-option mobile-navigation__park-options__park-option--temperature context-option"> <span>76</span>° <canvas class="skycons" data-icon="rain" width="64" height="64"></canvas> </li> <li class="mobile-navigation__park-options__park-option mobile-navigation__park-options__park-option--map context-option"> <a href="#" data-featherlight="#modal-park-pack-container" class="button button--knockout"><svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M0 0v8h8v-2.38a.5.5 0 0 0 0-.22v-5.41h-8zm1 1h6v4h-1.5a.5.5 0 0 0-.09 0 .5.5 0 1 0 .09 1h1.5v1h-6v-6zm2.5 1c-.83 0-1.5.67-1.5 1.5 0 1 1.5 2.5 1.5 2.5s1.5-1.5 1.5-2.5c0-.83-.67-1.5-1.5-1.5zm0 1c.28 0 .5.22.5.5s-.22.5-.5.5-.5-.22-.5-.5.22-.5.5-.5z" /> </svg></a> <div id="modal-park-pack-container"> <h2>Park Pack</h2> <p>West Virginia is home to some of the most beautiful and remote areas in the United States. Be sure to download your Park Pack for maps and other park information.</p> <a href="#" class="button">Download</a> </div> </li> --> </ul> </div> <div class="park-selection"> <div id="picker-google-map"></div> <div class="icon locate"> <span class="button"><svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M8 0l-8 4 3 1 1 3 4-8z" /> </svg></span> </div> <div class="icon close"> <span class="button"><svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M4 0c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm-1.5 1.78l1.5 1.5 1.5-1.5.72.72-1.5 1.5 1.5 1.5-.72.72-1.5-1.5-1.5 1.5-.72-.72 1.5-1.5-1.5-1.5.72-.72z" /> </svg></span> </div> <div class="loading"> <span class="spinner"> <svg xmlns="http://www.w3.org/2000/svg" width="8" height="8" viewBox="0 0 8 8"> <path d="M4 0c-2.2 0-4 1.8-4 4s1.8 4 4 4c1.1 0 2.12-.43 2.84-1.16l-.72-.72c-.54.54-1.29.88-2.13.88-1.66 0-3-1.34-3-3s1.34-3 3-3c.83 0 1.55.36 2.09.91l-1.09 1.09h3v-3l-1.19 1.19c-.72-.72-1.71-1.19-2.81-1.19z" /> </svg> </span> </div> </div> <script> ( function ( body ) { 'use strict'; body.className = body.className.replace( /\btribe-no-js\b/, 'tribe-js' ); } )( document.body ); </script> <script type="text/javascript"> function genesisBlocksShare( url, title, w, h ){ var left = ( window.innerWidth / 2 )-( w / 2 ); var top = ( window.innerHeight / 2 )-( h / 2 ); return window.open(url, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=600, height=600, top='+top+', left='+left); } </script> <style> body.thanks #modal, body.no-modal #modal{ opacity: 0 !important; pointer-events: none !important; transition: opacity .2s ease-in-out; } #submit{ transition: all .32s ease-in-out; } #submit.no{ pointer-events: none !important; opacity: .25; transition: all .32s ease-in-out; } #modal{ display: flex; position: fixed; justify-content: center; align-items: center; top: 0px; bottom: 0px; left: 0px; right: 0px; z-index: 999999999999; background: rgba(0,0,0,.2); transition: opacity .2s ease-in-out; } #modal .frm{ background: #fff; padding: 20px; overflow-y: scroll; max-width: 400px; width: 75%; max-height: 80vh; position: relative; z-index: 999999999999; box-shadow: 0px 5px 25px rgba(0,0,0,.72); text-align: center; } #modal .frm::after{ content:' '; position: absolute; top: 0px; right: 0px; width: 70px; height: 70px; background: linear-gradient(to top right, transparent 0%, transparent 50%, #789EB0 50%, #789EB0 100%); } #modal .frm h3{ color: #366164; line-height: 1em; margin: 30px 0px; } #modal .frm p{ font-size: 14px; } #modal .frm > button{ /* background-color: #366164 !important; */ position: absolute; top: 0px; right: 0px; height: 40px; width: 40px; display: flex; justify-content: center; align-items: center; z-index: 9999; cursor: pointer; color: #fff !important; } #modal .frm button svg{ height: 30px; width: 30px; } #modal .frm button svg *{ fill: #fff; } #modal .frm h3 span{ display: block; } #modal em{ display: block; font-size: 11px; line-height: 1em; margin-bottom: 10px; } #modal .frm input:not(:placeholder-shown):not(:focus):invalid { /* border: 1px solid #852E24; */ color: #fff; background: #852E24; } #guide-modal{ /* display: none; */ margin-bottom: 30px; } #modal_body{ text-decoration: none; color: #333; display: block; padding: 10px 20px 30px 20px; } body.modal-guide-graphic #guide-modal{ display: block !important; } @media screen and (min-width: 600px) { #modal .frm h3 span{ display: inline; } } @media screen and (min-width: 1024px) { #modal .frm h3{ font-size: 40px; text-align: center; } #modal .frm{ max-height: 90vh; } #modal .frm .cols{ display: flex; gap: 40px; justify-content: space-between; } #modal .frm .cols label{ flex-basis: calc(100%/2); } } </style> <div id="modal"> <div class="frm"> <h3 id="modal_title"></h3> <a id="modal_body"></a> <a id="modal_cta"class="button button__arrow button__arrow--dark-alt"></a> <button onclick="window.closeModal()"> x </button> </div> </div> <script> // console.log(1); // var seed = Math.random(); var confirmBody = document.querySelectorAll("body.page-id-120249"); // console.log("Guide"); var title = "Exclusive Deals"; var link = "/wvsp-newsletter"; var body = 'Sign up for our newsletter and stay up to date with exclusive West Virginia State Park deals and offers.'; var cta = "Subscribe"; // if Body.logged-in exists, set logged to true var logged = document.querySelector("body.logged-in") ? true : false; // If it is on or after November 27th, 2024 var now = new Date(); var releaseDate = new Date("2024-11-27"); if(now >= releaseDate || logged){ title = "Take Home a Piece of Almost Heaven!"; link = "https://shopwvstateparks.com/"; body = '<p>Explore our online shop to find unique merchandise celebrating West Virginia\'s beauty and charm. Browse our collection today!</p><br>'; cta = "Shop Now"; } document.getElementById("modal_title").innerHTML = title; document.getElementById("modal_cta").innerHTML = cta; document.getElementById("modal_cta").href = link; document.getElementById("modal_body").href = link; document.getElementById("modal_body").innerHTML = body; // var bodyElement = document.querySelector("body"); // bodyElement.classList.remove("no-modal"); // document.getElementById("modal_title").text = title; // document.getElementById("modal_title").text = title; window.dataLayer = window.dataLayer || []; var visited = localStorage.getItem("wvdt_visited"); var dismissed = localStorage.getItem("wvdt_dismissed"); var seen = localStorage.getItem("wvdt_seen"); // visited = true; // dismissed = false; // seen = false; var modal = document.getElementById("modal"); modal.addEventListener("click",function(e){ if(e.target.id == "modal"){ window.closeModal(); } }); //This is the first page this person has seen if(!visited){ const timestamp = Date.now(); localStorage.setItem("wvdt_visited", timestamp); console.log("First visit"); window.dataLayer.push({ 'event': 'newsletter_popup_wvdt_visited', }); } if(confirmBody.length > 0){ var bodyElement = document.querySelector("body"); bodyElement.classList.remove("no-modal"); localStorage.setItem("wvdt_seen", Date.now()); } //This is not the first page //They've never seen the popup //And they've never closed the popup if(visited){ console.log("Not the first visit"); if( !dismissed && !seen){ //This is not their first page and they've never dismissed the popup console.log("Never seen the form"); setTimeout(function() { var bodyElement = document.querySelector("body"); bodyElement.classList.remove("no-modal"); localStorage.setItem("wvdt_seen", Date.now()); // var firstNameElement = document.getElementById("first_name"); // firstNameElement.focus(); window.dataLayer.push({ 'event': 'newsletter_popup_wvdt_seen', }); }, 2000); } else{ console.log("Seen the form"); } } window.closeModal = function(){ console.log("Closed the form"); localStorage.setItem("wvdt_dismissed", true); var bodyElement = document.querySelector("body"); bodyElement.classList.add("no-modal"); window.dataLayer.push({ 'event': 'newsletter_popup_wvdt_dismissed', }); } </script> <script> /* <![CDATA[ */var tribe_l10n_datatables = {"aria":{"sort_ascending":": activate to sort column ascending","sort_descending":": activate to sort column descending"},"length_menu":"Show _MENU_ entries","empty_table":"No data available in table","info":"Showing _START_ to _END_ of _TOTAL_ entries","info_empty":"Showing 0 to 0 of 0 entries","info_filtered":"(filtered from _MAX_ total entries)","zero_records":"No matching records found","search":"Search:","all_selected_text":"All items on this page were selected. ","select_all_link":"Select all pages","clear_selection":"Clear Selection.","pagination":{"all":"All","next":"Next","previous":"Previous"},"select":{"rows":{"0":"","_":": Selected %d rows","1":": Selected 1 row"}},"datepicker":{"dayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayNamesShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dayNamesMin":["S","M","T","W","T","F","S"],"monthNames":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesShort":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesMin":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"nextText":"Next","prevText":"Prev","currentText":"Today","closeText":"Done","today":"Today","clear":"Clear"}};/* ]]> */ </script><script type="text/javascript" src="https://wvstateparks.com/wp-includes/js/dist/hooks.min.js?ver=4d63a3d491d11ffd8ac6" id="wp-hooks-js"></script> <script type="text/javascript" src="https://wvstateparks.com/wp-includes/js/dist/i18n.min.js?ver=5e580eb46a90c2b997e6" id="wp-i18n-js"></script> <script type="text/javascript" id="wp-i18n-js-after"> /* <![CDATA[ */ wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } ); /* ]]> */ </script> <script type="text/javascript" src="https://wvstateparks.com/wp-content/plugins/contact-form-7/includes/swv/js/index.js?ver=6.0" id="swv-js"></script> <script type="text/javascript" id="contact-form-7-js-before"> /* <![CDATA[ */ var wpcf7 = { "api": { "root": "https:\/\/wvstateparks.com\/wp-json\/", "namespace": "contact-form-7\/v1" }, "cached": 1 }; /* ]]> */ </script> <script type="text/javascript" src="https://wvstateparks.com/wp-content/plugins/contact-form-7/includes/js/index.js?ver=6.0" id="contact-form-7-js"></script> <script type="text/javascript" id="wpcf7-redirect-script-js-extra"> /* <![CDATA[ */ var wpcf7r = {"ajax_url":"https:\/\/wvstateparks.com\/wp-admin\/admin-ajax.php"}; /* ]]> */ </script> <script type="text/javascript" defer="defer" src="https://wvstateparks.com/wp-content/plugins/wpcf7-redirect/build/js/wpcf7r-fe.js?ver=1.1" id="wpcf7-redirect-script-js"></script> <script type="text/javascript" defer="defer" src="https://wvstateparks.com/wp-content/plugins/genesis-blocks/dist/assets/js/dismiss.js?ver=1723660166" id="genesis-blocks-dismiss-js-js"></script> <script type="text/javascript" defer="defer" src="https://cdnjs.cloudflare.com/ajax/libs/detectizr/2.2.0/detectizr.min.js?ver=6.7.1" id="detectizr-js"></script> <script type="text/javascript" defer="defer" src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/4.1.5/lazysizes.min.js?ver=6.7.1" id="lazysizes-js"></script> <script type="text/javascript" id="wpcf7cf-scripts-js-extra"> /* <![CDATA[ */ var wpcf7cf_global_settings = {"ajaxurl":"https:\/\/wvstateparks.com\/wp-admin\/admin-ajax.php"}; /* ]]> */ </script> <script type="text/javascript" defer="defer" src="https://wvstateparks.com/wp-content/plugins/cf7-conditional-fields/js/scripts.js?ver=2.5.1" id="wpcf7cf-scripts-js"></script> <script type="text/javascript" defer="defer" src="https://www.google.com/recaptcha/api.js?render=6LfCnoAaAAAAAMeTdBcFvHOE_21rhZrOJjtOCLsx&ver=3.0" id="google-recaptcha-js"></script> <script type="text/javascript" src="https://wvstateparks.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=3.15.0" id="wp-polyfill-js"></script> <script type="text/javascript" id="wpcf7-recaptcha-js-before"> /* <![CDATA[ */ var wpcf7_recaptcha = { "sitekey": "6LfCnoAaAAAAAMeTdBcFvHOE_21rhZrOJjtOCLsx", "actions": { "homepage": "homepage", "contactform": "contactform" } }; /* ]]> */ </script> <script type="text/javascript" defer="defer" src="https://wvstateparks.com/wp-content/plugins/contact-form-7/modules/recaptcha/index.js?ver=6.0" id="wpcf7-recaptcha-js"></script> </body> </html>