Includes front-page, strain archive/single templates, header/footer, functions.php with custom post types, and base styles.
91 lines
5 KiB
PHP
91 lines
5 KiB
PHP
</div><!-- .wo-container (opened in header.php) -->
|
|
</main><!-- #main-content -->
|
|
|
|
<?php // ── Site Footer ───────────────────────────────────────── ?>
|
|
<footer class="wo-footer" role="contentinfo">
|
|
<div class="wo-container">
|
|
|
|
<div class="wo-footer__grid">
|
|
|
|
<?php // Brand column ?>
|
|
<div class="wo-footer__brand">
|
|
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="wo-logo" rel="home">
|
|
<svg width="22" height="22" viewBox="0 0 28 28" fill="none" aria-hidden="true" focusable="false">
|
|
<path d="M14 2C8.5 2 4 6.5 4 12c0 3.5 2 6.5 5 8.5L14 26l5-5.5c3-2 5-5 5-8.5C24 6.5 19.5 2 14 2z" fill="#4a9e68"/>
|
|
<path d="M14 6c-3.3 0-6 2.7-6 6 0 2 1 3.8 2.5 4.8L14 20l3.5-3.2c1.5-1 2.5-2.8 2.5-4.8 0-3.3-2.7-6-6-6z" fill="#c8a951"/>
|
|
</svg>
|
|
Weed<span>ops</span>
|
|
</a>
|
|
<p class="wo-mt-2" style="color:rgba(255,255,255,0.6);font-size:0.85rem;max-width:220px;">
|
|
<?php echo esc_html( get_bloginfo( 'description' ) ?: __( 'Cannabis industry product management and compliance platform.', 'weedops' ) ); ?>
|
|
</p>
|
|
</div>
|
|
|
|
<?php // Platform column ?>
|
|
<div>
|
|
<h4><?php esc_html_e( 'Platform', 'weedops' ); ?></h4>
|
|
<ul>
|
|
<li><a href="<?php echo esc_url( home_url( '/strains' ) ); ?>"><?php esc_html_e( 'Strain Database', 'weedops' ); ?></a></li>
|
|
<li><a href="<?php echo esc_url( home_url( '/products' ) ); ?>"><?php esc_html_e( 'Product Catalog', 'weedops' ); ?></a></li>
|
|
<li><a href="<?php echo esc_url( home_url( '/dispensaries' ) ); ?>"><?php esc_html_e( 'Dispensaries', 'weedops' ); ?></a></li>
|
|
<li><a href="<?php echo esc_url( home_url( '/compliance' ) ); ?>"><?php esc_html_e( 'Compliance', 'weedops' ); ?></a></li>
|
|
<li><a href="<?php echo esc_url( home_url( '/inventory' ) ); ?>"><?php esc_html_e( 'Inventory', 'weedops' ); ?></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<?php // Footer nav widget area or fallback links ?>
|
|
<div>
|
|
<h4><?php esc_html_e( 'Company', 'weedops' ); ?></h4>
|
|
<?php if ( is_active_sidebar( 'footer-col-2' ) ) : ?>
|
|
<?php dynamic_sidebar( 'footer-col-2' ); ?>
|
|
<?php else : ?>
|
|
<ul>
|
|
<li><a href="<?php echo esc_url( home_url( '/about' ) ); ?>"><?php esc_html_e( 'About', 'weedops' ); ?></a></li>
|
|
<li><a href="<?php echo esc_url( home_url( '/blog' ) ); ?>"><?php esc_html_e( 'Blog', 'weedops' ); ?></a></li>
|
|
<li><a href="<?php echo esc_url( home_url( '/contact' ) ); ?>"><?php esc_html_e( 'Contact', 'weedops' ); ?></a></li>
|
|
<li><a href="<?php echo esc_url( home_url( '/careers' ) ); ?>"><?php esc_html_e( 'Careers', 'weedops' ); ?></a></li>
|
|
</ul>
|
|
<?php endif; ?>
|
|
</div>
|
|
|
|
<?php // Legal column ?>
|
|
<div>
|
|
<h4><?php esc_html_e( 'Legal', 'weedops' ); ?></h4>
|
|
<ul>
|
|
<li><a href="<?php echo esc_url( home_url( '/privacy-policy' ) ); ?>"><?php esc_html_e( 'Privacy Policy', 'weedops' ); ?></a></li>
|
|
<li><a href="<?php echo esc_url( home_url( '/terms' ) ); ?>"><?php esc_html_e( 'Terms of Service', 'weedops' ); ?></a></li>
|
|
<li><a href="<?php echo esc_url( home_url( '/age-verification' ) ); ?>"><?php esc_html_e( 'Age Verification', 'weedops' ); ?></a></li>
|
|
<li><a href="<?php echo esc_url( home_url( '/compliance-disclosure' ) ); ?>"><?php esc_html_e( 'Compliance Disclosure', 'weedops' ); ?></a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
</div><!-- .wo-footer__grid -->
|
|
|
|
<div class="wo-footer__bottom">
|
|
<span>
|
|
© <?php echo esc_html( gmdate( 'Y' ) ); ?>
|
|
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" style="color:rgba(255,255,255,0.7);">Weedops</a>.
|
|
<?php esc_html_e( 'All rights reserved.', 'weedops' ); ?>
|
|
</span>
|
|
<span style="color:rgba(255,255,255,0.4);font-size:0.75rem;">
|
|
<?php esc_html_e( 'For use in jurisdictions where cannabis is legal. Must be 21+.', 'weedops' ); ?>
|
|
</span>
|
|
<?php
|
|
// Optional: footer nav
|
|
wp_nav_menu( [
|
|
'theme_location' => 'footer',
|
|
'container' => false,
|
|
'depth' => 1,
|
|
'fallback_cb' => false,
|
|
'menu_class' => 'wo-footer__nav',
|
|
] );
|
|
?>
|
|
</div><!-- .wo-footer__bottom -->
|
|
|
|
</div><!-- .wo-container -->
|
|
</footer>
|
|
|
|
<?php wp_footer(); ?>
|
|
|
|
</body>
|
|
</html>
|