windhamdavid 3 years ago
parent
commit
07a50eca79
1 changed files with 73 additions and 0 deletions
  1. 73 0
      footer.php

+ 73 - 0
footer.php

@@ -0,0 +1,73 @@
+<?php
+/**
+ * The template for displaying the footer
+ *
+ * Contains the closing of the #content div and all content after.
+ *
+ * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
+ *
+ * @package WordPress
+ * @subpackage Twenty_Twenty_One
+ * @since Twenty Twenty-One 1.0
+ */
+
+?>
+			</main><!-- #main -->
+		</div><!-- #primary -->
+	</div><!-- #content -->
+
+	<?php get_template_part( 'template-parts/footer/footer-widgets' ); ?>
+
+	<footer id="colophon" class="site-footer" role="contentinfo">
+
+		<?php if ( has_nav_menu( 'footer' ) ) : ?>
+			<nav aria-label="<?php esc_attr_e( 'Secondary menu', 'twentytwentyone' ); ?>" class="footer-navigation">
+				<ul class="footer-navigation-wrapper">
+					<?php
+					wp_nav_menu(
+						array(
+							'theme_location' => 'footer',
+							'items_wrap'     => '%3$s',
+							'container'      => false,
+							'depth'          => 1,
+							'link_before'    => '<span>',
+							'link_after'     => '</span>',
+							'fallback_cb'    => false,
+						)
+					);
+					?>
+				</ul><!-- .footer-navigation-wrapper -->
+			</nav><!-- .footer-navigation -->
+		<?php endif; ?>
+		<div class="site-info">
+			<div class="site-name">
+        <p><?php echo get_bloginfo( 'name' ); ?></p>
+				<p><?php echo get_bloginfo( 'description' ); ?></p>
+        <p>672 Marina Drive, Suite 110, Daniel Island, SC 29492</p> 
+				<?php
+					$blog_id = get_current_blog_id();
+					if ( $blog_id == 2 ) {
+				?>
+					<p>Telephone: 843-881-0501 • Toll Free: 800-927-2826 • Fax: 843-884-6665</p>
+					<p>&copy; <a href="https://tridentchas.com">tridentchas.com</a> • 2006-2022</p>
+				<?php } else { ?>
+					<p>Telephone: 843-884-2826 • Toll Free: 800-927-2826 • Fax: 843-884-6665</p>
+					<p>&copy; <a href="https://hbrtwn.com">hbrtwn.com</a> • 2006-2022</p>
+				<?php } ?>
+				
+			</div><!-- .site-name -->
+			<div class="powered-by">
+					<?php hbr_global_menu(); ?>
+					
+			</div><!-- .powered-by -->
+			
+		</div><!-- .site-info -->
+		<span class="site-credits"><a href="https://davidwindham.com" target="_blank">(site) David Windham</span>
+	</footer><!-- #colophon -->
+
+</div><!-- #page -->
+
+<?php wp_footer(); ?>
+
+</body>
+</html>