Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
93 lines (89 sloc) 2.46 KB
<?php
/**
* The template for displaying the footer.
*
* Contains the closing of the #content div and all content after
*
* @package cornerstone
*/
if ( apply_filters( 'load_custom_footer', false ) ) {
$custom_footer = apply_filters( 'get_custom_footer', '' );
if ( '' != $custom_footer ) {
// Get the header that we just received
// and call the native 'get_header' function
// as usual
load_template( $custom_footer );
// By calling 'return' we are skipping
// parsing this template any further
return;
}
}
?>
</div><!-- .container-->
</div><!-- #content -->
<div id="footers">
<?php get_template_part('inc/mega','footer'); ?>
<footer id="footer" class="site-footer" role="contentinfo">
<div class="container">
<ul id="uc-footer-links" class="clearfix">
<?php
$options = get_option('uconn_banner_options');
$text_string = $options['text_string'];
$location = $text_string;
if($location == 'uchc'){
?>
<li>
<a href="http://health.uconn.edu/az/">A-Z Index</a>
</li>
<li>
<a href="http://health.uconn.edu/">UConn Health</a>
</li>
<li>
<a href="http://health.uconn.edu/disclaimersprivacy/">Disclaimer, Privacy Notice &amp; Copyright</a>
</li>
<li>
<a href="http://health.uconn.edu/plan-your-visit/locations-and-directions/">Maps &amp; Directions</a>
</li>
<!-- <li>
<a href="http://health.uconn.edu/contact-us/">Contact Us</a>
</li> -->
<li>
&copy; UConn Health
</li>
<?php
} else {
?>
<li>
&copy; <a href="http://uconn.edu">University of Connecticut</a>
</li>
<li>
<a href="http://uconn.edu/disclaimers-privacy-copyright/">Disclaimers, Privacy &amp; Copyright</a>
</li>
<?php
}
?>
<li>
<a href="<?php echo site_url(); ?>/wp-admin/">Webmaster Login</a>
</li>
<?php
// Only display the footer if a menu of "Footer" exists in the site.
if (wp_get_nav_menu_object('Footer')){
$defaults = array(
'menu' => 'Footer',
'container' => false,
'items_wrap' => '%3$s',
'depth' => 1,
'fallback_cb' => false
);
wp_nav_menu( $defaults );
}
?>
</ul>
</div>
</footer>
</div><!-- #footers -->
</div><!-- #page -->
<!--[if lte IE 9]></div><![endif]-->
<?php wp_footer(); ?>
</body>
</html>
You can’t perform that action at this time.