wasmo-theme/footer.php

54 lines
2.2 KiB
PHP
Raw Permalink Normal View History

2019-03-11 21:35:18 +00:00
<?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_Nineteen
* @since 1.0.0
*/
?>
</div><!-- #content -->
<footer id="colophon" class="site-footer">
<?php get_template_part( 'template-parts/footer/footer', 'widgets' ); ?>
<div class="site-info">
<?php $blog_info = get_bloginfo( 'name' ); ?>
<?php if ( ! empty( $blog_info ) ) : ?>
2020-02-13 14:23:40 +00:00
<a class="site-name" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
2019-03-11 21:35:18 +00:00
<?php endif; ?>
<?php if ( get_field( 'legal_disclaimer', 'option' ) ) { ?>
<p class="legal_disclaimer"><?php the_field( 'legal_disclaimer', 'option' ); ?></p>
<?php } else { ?>
<p class="legal_disclaimer">Though this site discusses mormonism, topics related to mormons, the mormon church and people who refer to themselves as unorthodox mormons, ex-mormons, post-mormons or any other form of wasmormon, it is not officially affiliated with or managed by The Church of Jesus Christ of Latter-day Saints or even the Corporation of the Presiding Bishop. They don't want to be called mormon anymore anyways. All of the content, stories or opinions expressed, implied or included in this site are solely credited to those sharing their own personal stories and not those of Intellectual Reserve, Inc. or The Church of Jesus Christ of Latter-day Saints.</p>
<?php } ?>
2019-03-11 21:35:18 +00:00
<?php
if ( function_exists( 'the_privacy_policy_link' ) ) {
the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' );
}
?>
<?php if ( has_nav_menu( 'footer' ) ) : ?>
<nav class="footer-navigation" aria-label="<?php esc_attr_e( 'Footer Menu', 'twentynineteen' ); ?>">
<?php
wp_nav_menu(
array(
'theme_location' => 'footer',
'menu_class' => 'footer-menu',
'depth' => 1,
)
);
?>
</nav><!-- .footer-navigation -->
<?php endif; ?>
</div><!-- .site-info -->
</footer><!-- #colophon -->
</div><!-- #page -->
<?php wp_footer(); ?>
</body>
2019-03-14 12:33:15 +00:00
</html>